1 Sep
2005
1 Sep
'05
5:09 p.m.
On 8/31/05, Stephen J. Turnbull
"Michael" == Michael Chermside
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/)