Matthew Barnett <[email protected]> added the comment:
issue2636-20100912.zip is a new version of the regex module.
More speedups. I've been comparing the speed against Perl wherever possible. In
some cases Perl is lightning fast, probably because regex is built into the
language and it doesn't have to parse method arguments (for some short regexes
a large part of the processing time is spent in PyArg_ParseTupleAndKeywords!).
In other cases, where it has to use Unicode codepoints outside the 8-bit range,
or character properties such as \p{Alpha}, its performance is simply appalling!
:-)
----------
Added file: http://bugs.python.org/file18854/issue2636-20100912.zip
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue2636>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com