Matthew Barnett <pyt...@mrabarnett.plus.com> added the comment:

As a crude guide of the speed difference, here's Python 2.6:

                         re          regex
bm_regex_compile.py     86.53secs  260.19secs
bm_regex_effbot.py      13.70secs    8.94secs
bm_regex_v8.py          15.66secs    9.09secs

Note that compiling regexes is a lot slower. I concentrated my efforts on the 
matching speed because regexes tend to be compiled only once, so it's not as 
important.

Matching speed should _at worst_ be comparable.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2636>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to