Message279574
Actually the patch is not going to speed up the encoder but just make the memory allocation strategy better, make the memory upper bound tighter. The speedup is just a good side effect.
> It is rather in the line of idna and punycode than UTF-8 and UTF-32.
Agree.
> This encoder was omitted form _PyBytesWriter-using optimizations for purpose. The patch complicates the implementation.
Not much. I think the implementation still remains simple. |
|
Date |
User |
Action |
Args |
2016-10-28 03:33:28 | xiang.zhang | set | recipients:
+ xiang.zhang, vstinner, ezio.melotti, serhiy.storchaka |
2016-10-28 03:33:28 | xiang.zhang | set | messageid: <1477625608.09.0.261605214088.issue28531@psf.upfronthosting.co.za> |
2016-10-28 03:33:28 | xiang.zhang | link | issue28531 messages |
2016-10-28 03:33:27 | xiang.zhang | create | |
|