Message124759
Another re.compile performance issue (I've seen a couple of others, but I'm still trying to simplify the test-cases):
re.compile("(?ui)(a\s?b\s?c\s?d\s?e\s?f\s?g\s?h\s?i\s?j\s?k\s?l\s?m\s?n\s?o\s?p\s?q\s?r\s?s\s?t\s?u\s?v\s?w\s?y\s?z\s?a\s?b\s?c\s?d)")
completes in around 0.01s on my machine using Python 2.6.5 standard regex library, but takes around 12 seconds using issue2636-20101228.zip |
|
Date |
User |
Action |
Args |
2010-12-28 04:01:04 | jacques | set | recipients:
+ jacques, loewis, georg.brandl, collinwinter, gregory.p.smith, jimjjewett, sjmachin, amaury.forgeotdarc, belopolsky, pitrou, nneonneo, giampaolo.rodola, rsc, timehorse, mark, vbr, ezio.melotti, mrabarnett, jaylogan, akitada, moreati, r.david.murray, zdwiel, jhalcrow, stiv |
2010-12-28 04:01:04 | jacques | set | messageid: <1293508864.5.0.369786178549.issue2636@psf.upfronthosting.co.za> |
2010-12-28 04:01:02 | jacques | link | issue2636 messages |
2010-12-28 04:01:02 | jacques | create | |
|