Message163480
| Author |
serhiy.storchaka |
| Recipients |
serhiy.storchaka |
| Date |
2012年06月22日.20:51:57 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1340398318.47.0.89388206382.issue15145@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|