Message149748
utf8_encoder_prescan.patch: precompute the size of the output to avoid a PyBytes_Resize() at exit. It is much slower:
ASCII: 100000 loops, best of 3: 2.06 usec per loop
UCS-1: 10000 loops, best of 3: 123 usec per loop
UCS-2: 10000 loops, best of 3: 171 usec per loop
UCS-4: 1000 loops, best of 3: 254 usec per loop |
|
Date |
User |
Action |
Args |
2011-12-18 12:57:14 | vstinner | set | recipients:
+ vstinner, loewis, jcea, pitrou, ezio.melotti, flox |
2011-12-18 12:57:14 | vstinner | set | messageid: <1324213034.44.0.536908452284.issue13624@psf.upfronthosting.co.za> |
2011-12-18 12:56:14 | vstinner | link | issue13624 messages |
2011-12-18 12:56:14 | vstinner | create | |
|