[issue8064] Large regex handling very slow on Linux

STINNER Victor report at bugs.python.org
Fri Mar 5 00:27:43 CET 2010


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

Results on Linux (Debian Sid) with different Python versions:
 * Python 2.4.6: 14112.8 ms
 * Python 2.5.5: 14246.7 ms
 * Python 2.6.4+: 14753.4 ms
 * Python trunk (2.7a3+): 69.3 ms

It looks like re engine was optimized in trunk :-)

Note: I replaced stopwatch by time.time() and used 100 iterations instead of 500 iterations. Values are not important, only the ratio between the different results.

--

exarkun> I think it's likely that the test program does drastically
exarkun> different things on Linux than it does on OS X

sys.maxunicode should be different on the two OS.

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list