[issue24426] re.split performance degraded significantly by capturing group
Serhiy Storchaka
report at bugs.python.org
Wed Jun 10 21:18:48 CEST 2015
Serhiy Storchaka added the comment:
Regular expression is optimized for the case when it starts with constant string or charset. It is no degradation when using '(\n)', but rather an optimization of '\n'.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24426>
_______________________________________
More information about the Python-bugs-list
mailing list