[issue13155] Optimize finding the max character width

STINNER Victor report at bugs.python.org
Wed Oct 12 22:22:36 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

With find_max_char4.patch:

python3.3 -m timeit 'x="é"+"x"*10000' 'x[1:]'
100000 loops, best of 3: 1.96 usec per loop

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13155>
_______________________________________


More information about the Python-bugs-list mailing list