Message163480
Here is patch that speed up *_find_max_char stringlib functions.
Microbenchmarks:
./python -m timeit -s "s='A'*20+'\x80'" "s[:-1]"
./python -m timeit -s "s='A'*20+'\U00010000'" "s[:-1]"
Results on Intel Atom N570 @ 1.66GHz:
vanilla patched
0.819 0.73
0.788 0.755 |
|
Date |
User |
Action |
Args |
2012-06-22 20:51:58 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2012-06-22 20:51:58 | serhiy.storchaka | set | messageid: <1340398318.47.0.89388206382.issue15145@psf.upfronthosting.co.za> |
2012-06-22 20:51:57 | serhiy.storchaka | link | issue15145 messages |
2012-06-22 20:51:57 | serhiy.storchaka | create | |
|