Author foom
Recipients SilentGhost, akuchling, amaury.forgeotdarc, belopolsky, benjamin.peterson, bjourne, donlorenzo, ezio.melotti, foom, georg.brandl, mortenlj, mrabarnett, pitrou, rsc, swamiyeswanth, timehorse, zanella
Date 2011-01-13.17:12:03
SpamBayes Score 0.000281022
Marked as misclassified No
Message-id <1294938725.27.0.899566937513.issue2650@psf.upfronthosting.co.za>
In-reply-to
Content
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. :)
History
Date User Action Args
2011-01-13 17:12:05foomsetrecipients: + 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:05foomsetmessageid: <1294938725.27.0.899566937513.issue2650@psf.upfronthosting.co.za>
2011-01-13 17:12:03foomlinkissue2650 messages
2011-01-13 17:12:03foomcreate