Why is regex so slow?

Chris Angelico rosuav at gmail.com
Tue Jun 18 13:20:57 EDT 2013


On Wed, Jun 19, 2013 at 3:08 AM, Roy Smith <roy at panix.com> wrote:
>  I'm tempted to open this up as a performance bug against the regex module (which I assume will be rejected, at least for the 2.x series).

Yeah, I'd try that against 3.3 before opening a performance bug. Also,
it's entirely possible that performance is majorly different in 3.x
anyway, on account of strings being Unicode. Definitely merits another
look imho.

ChrisA



More information about the Python-list mailing list