Message205934
Here is updated patch, synchronized with trunk. UTF-32 encoder now checks surrogates and therefore speedup is less (only up to 5 times). But this compensates regression in 3.4.
On 32-bit Linux, Intel Atom N570 @ 1.66GHz:
Py3.3 Py3.4 patched
531 (+245%) 489 (+274%) 1831 encode utf-32le 'A'*10000
383 (+158%) 223 (+344%) 990 encode utf-32le '\u0100'*10000
325 (+262%) 229 (+414%) 1177 encode utf-32le '\U00010000'*10000
544 (+166%) 494 (+193%) 1448 encode utf-32be 'A'*10000
384 (+67%) 223 (+188%) 642 encode utf-32be '\u0100'*10000
323 (+108%) 229 (+193%) 671 encode utf-32be '\U00010000'*10000 |
|
Date |
User |
Action |
Args |
2013-12-11 22:17:02 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, vstinner, ezio.melotti, Arfrever, asvetlov, BreamoreBoy, kmike |
2013-12-11 22:17:02 | serhiy.storchaka | set | messageid: <1386800222.06.0.983066228127.issue15027@psf.upfronthosting.co.za> |
2013-12-11 22:17:02 | serhiy.storchaka | link | issue15027 messages |
2013-12-11 22:17:01 | serhiy.storchaka | create | |
|