Message 174772 - Python tracker
Message174772
| Author | serhiy.storchaka |
|---|---|
| Recipients | barry, brett.cannon, ezio.melotti, ncoghlan, pitrou, pjenvey, rhettinger, serhiy.storchaka, zzzeek |
| Date | 2012-11-04.10:19:31 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1352024372.49.0.793549848386.issue16389@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Here is a patch which reverts 3.1 implementation (and adds some optimization).
Microbenchmark:
$ ./python -m timeit -s "import re" "re._compile('', 0)"
Results:
3.1: 1.45 usec per loop
3.2: 4.45 usec per loop
3.3: 9.91 usec per loop
3.4patched: 0.89 usec per loop |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-11-04 10:19:32 | serhiy.storchaka | set | recipients: + serhiy.storchaka, barry, brett.cannon, rhettinger, ncoghlan, pitrou, pjenvey, ezio.melotti, zzzeek |
| 2012-11-04 10:19:32 | serhiy.storchaka | set | messageid: <1352024372.49.0.793549848386.issue16389@psf.upfronthosting.co.za> |
| 2012-11-04 10:19:32 | serhiy.storchaka | link | issue16389 messages |
| 2012-11-04 10:19:32 | serhiy.storchaka | create | |