Jacques Grove <[email protected]> added the comment:
Another re.compile performance issue (I've seen a couple of others, but I'm
still trying to simplify the test-cases):
re.compile("(?ui)(a\s?b\s?c\s?d\s?e\s?f\s?g\s?h\s?i\s?j\s?k\s?l\s?m\s?n\s?o\s?p\s?q\s?r\s?s\s?t\s?u\s?v\s?w\s?y\s?z\s?a\s?b\s?c\s?d)")
completes in around 0.01s on my machine using Python 2.6.5 standard regex
library, but takes around 12 seconds using issue2636-20101228.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