On 8/31/05, Stephen J. Turnbull <[EMAIL PROTECTED]> wrote:
> >>>>> "Michael" == Michael Chermside <[EMAIL PROTECTED]> writes:
> 
>     Michael> (2) is what we have today, but I would prefer (1) to
>     Michael> gently encourage people to use the precompiled objects
>     Michael> (which are distinctly faster when re-used).
> 
> Didn't Fredrik Lundh strongly imply that implicitly compiled objects
> are cached?  That's a pretty big speed up right there.

What happened to RTSL? ("Read the Source, Luke" :)

They *are* cached and there is no cost to using the functions instead
of the methods unless you have so many regexps in your program that
the cache is cleared (the limit is 100).

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
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