STINNER Victor <victor.stin...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue8064>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to