[Python-Dev] Automatic flex interface for Python?

Guido van Rossum guido@python.org
Tue, 20 Aug 2002 23:49:21 -0400


> I wonder if using something like SciPy's weave tool would make it
> (relatively) painless to incorporate fairly high-speed scanners into
> Python programs.

I haven't given up on the re module for fast scanners (see Tim's note
on the speed of tokenizing 20,000 messages in mere minutes).  Note
that the Bayes approach doesn't *need* a trick to apply many regexes
in parallel to the text.

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