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 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:32serhiy.storchakasetrecipients: + serhiy.storchaka, barry, brett.cannon, rhettinger, ncoghlan, pitrou, pjenvey, ezio.melotti, zzzeek
2012-11-04 10:19:32serhiy.storchakasetmessageid: <1352024372.49.0.793549848386.issue16389@psf.upfronthosting.co.za>
2012-11-04 10:19:32serhiy.storchakalinkissue16389 messages
2012-11-04 10:19:32serhiy.storchakacreate