[issue31324] support._match_test() used by test.bisect is very inefficient

Serhiy Storchaka report at bugs.python.org
Thu Nov 16 12:14:15 EST 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I know :-)

Unfortunately it is not obviously that these optimization actually optimize regular expressions. Due to the implementation particularities sometimes "unoptimized" code is faster than "optimized". I'm going to implement these optimizations in the re module, but it needs to be very careful, and may need changing the matching engine.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31324>
_______________________________________


More information about the Python-bugs-list mailing list