[New-bugs-announce] [issue15145] Faster *_find_max_char
Serhiy Storchaka
report at bugs.python.org
Fri Jun 22 22:51:58 CEST 2012
New submission from Serhiy Storchaka <storchaka at gmail.com>:
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
----------
components: Interpreter Core
files: find_max_char.patch
keywords: patch
messages: 163480
nosy: storchaka
priority: normal
severity: normal
status: open
title: Faster *_find_max_char
type: performance
versions: Python 3.3
Added file: http://bugs.python.org/file26093/find_max_char.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15145>
_______________________________________
More information about the New-bugs-announce
mailing list