On Fri, Jul 9, 2010 at 3:35 PM, MRAB <pyt...@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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to