Message227758
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:11 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, ezio.melotti, mrabarnett |
| 2014-09-28 13:43:11 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2014-09-28 13:43:11 | serhiy.storchaka | link | issue22510 messages |
| 2014-09-28 13:43:11 | serhiy.storchaka | create | |
|