9 Jul
2010
9 Jul
'10
1:14 p.m.
On Fri, Jul 9, 2010 at 3:35 PM, MRAB <python@mrabarnett.plus.com> wrote:
I concentrated my efforts on the matching speed because regexes tend to be compiled only once, and are cached anyway, so I don't think it's as important.
I think most here will agree with that, but it might be good to keep in mind that the sre implementation has already made that trade-off once. I don't remember what the compilation slowdown was at the time, but I'd be surprised if Google can't find it, given sufficient fu. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "A storm broke loose in my mind." --Albert Einstein