Message303061
Barry, please test re.search() with your changes.
$ ./python -m timeit -s 'import re; s = "a" * 100' 're.search("b", s)'
Unpatched: 500000 loops, best of 5: 529 nsec per loop
Patched: 50000 loops, best of 5: 7.46 usec per loop |
|
Date |
User |
Action |
Args |
2017-09-26 18:42:25 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, rhettinger, r.david.murray |
2017-09-26 18:42:25 | serhiy.storchaka | set | messageid: <1506451345.6.0.42116089394.issue31580@psf.upfronthosting.co.za> |
2017-09-26 18:42:25 | serhiy.storchaka | link | issue31580 messages |
2017-09-26 18:42:25 | serhiy.storchaka | create | |
|