Message186878
PyUnicode_DecodeCharmap() still uses _PyUnicodeWriter_Prepare() (even with my patch). It may be interesting to benchmark min_length vs prepare. If min_length is not slower, it should be used instead of prepare to avoid widen the buffer if the first written character is non-ASCII, b'\x80'.decode('cp1252') for example. |
|
Date |
User |
Action |
Args |
2013-04-14 01:59:33 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, vladistan |
2013-04-14 01:59:33 | vstinner | set | messageid: <1365904773.75.0.999367303876.issue17694@psf.upfronthosting.co.za> |
2013-04-14 01:59:33 | vstinner | link | issue17694 messages |
2013-04-14 01:59:33 | vstinner | create | |
|