This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, mrabarnett, pitrou, serhiy.storchaka
Date 2014-09-28.13:43:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is a patch which gets rid of small performance regression introduced by issue20426 patch. No need to check flags before cache lookup because patterns with the DEBUG flag are newer cached.

$ ./python -m timeit -s "import re" -- "re.match('', '')"

Before patch: 9.08 usec per loop
After patch: 8 usec per loop
Date User Action Args
2014-09-28 13:43:11serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, ezio.melotti, mrabarnett
2014-09-28 13:43:11serhiy.storchakasetmessageid: <>
2014-09-28 13:43:11serhiy.storchakalinkissue22510 messages
2014-09-28 13:43:11serhiy.storchakacreate