Message126184
Right you are, it seems that python's regexp implementation is terribly slow when doing replacements with a substitution in them. (fixing the broken test, as you pointed out changed the timing to 97.6 usec vs the in-error-reported 18.3usec.)
Oh well. I still think it's crazy not to use re for this in its own module. Someone just needs to fix re to not be horrifically slow, too. :) |
|
Date |
User |
Action |
Args |
2011-01-13 17:12:05 | foom | set | recipients:
+ foom, akuchling, georg.brandl, amaury.forgeotdarc, belopolsky, pitrou, rsc, timehorse, benjamin.peterson, zanella, donlorenzo, ezio.melotti, bjourne, mortenlj, mrabarnett, SilentGhost, swamiyeswanth |
2011-01-13 17:12:05 | foom | set | messageid: <1294938725.27.0.899566937513.issue2650@psf.upfronthosting.co.za> |
2011-01-13 17:12:03 | foom | link | issue2650 messages |
2011-01-13 17:12:03 | foom | create | |
|