[issue13155] Optimize finding the max character width
STINNER Victor
report at bugs.python.org
Wed Oct 12 22:21:31 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Without the patch:
python3.2 -m timeit 'x="é"+"x"*10000' 'x[1:]'
100000 loops, best of 3: 2.18 usec per loop
python3.3 -m timeit 'x="é"+"x"*10000' 'x[1:]'
100000 loops, best of 3: 6.68 usec per loop
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13155>
_______________________________________
More information about the Python-bugs-list
mailing list