[Zope-CVS] CVS: Products/ZCTextIndex - ZCTextIndex.py:

Guido van Rossum guido@python.org
Tue, 07 May 2002 19:49:02 -0400

> Splitter:  Pre-compile the regex so SRE doesn't need to look it up all
>     the time.  Not a biggie, but it seems to be a good idea.

I figured this was unnecessary since findall() already compiles the
pattern, so it's not really looked up "all the time" -- only once per
document indexed.

--Guido van Rossum (home page: http://www.python.org/~guido/)