[issue27898] regexp performance degradation between 2.7.6 and 2.7.12
Steve Newcomb
report at bugs.python.org
Thu Sep 1 20:35:58 EDT 2016
Steve Newcomb added the comment:
On 09/01/2016 05:01 PM, Steve Newcomb wrote:
>
>> The outputs show that 2.7.12's re.sub() takes 1.2 times as long as
>> 2.7.6's. It's a significant difference, but...
>>
>> ...it was not the dramatic degradation I expected to find in this
>> exercise.
On second (third?) thought, the degree of degradation could easily
depend on the source data being processed. Maybe test.py does, in fact,
demonstrate the problem, but the test data I used (p17-118.htm) do not
demonstrate a terribly severe case of the problem.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27898>
_______________________________________
More information about the Python-bugs-list
mailing list