homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:58serhiy.storchakasetrecipients: + serhiy.storchaka
2012年06月22日 20:51:58serhiy.storchakasetmessageid: <1340398318.47.0.89388206382.issue15145@psf.upfronthosting.co.za>
2012年06月22日 20:51:57serhiy.storchakalinkissue15145 messages
2012年06月22日 20:51:57serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /