union in Python

Michael Hudson mwh at python.net
Tue Aug 19 06:34:41 EDT 2003


bokr at oz.net (Bengt Richter) writes:

> I wonder why find doesn't take advantage of the same thing, whatever
> it is (Boyer-Moore? or some running fifo window hash
> check?). Probably the usual ...  people who can do it are too busy
> to do it in free time, and no-one's throwing money ;-)

I really don't think it's expected that people are using str.find with
data big enough for this to make a difference.  There's mxTextTools
(at least) for that.

Cheers,
mwh

-- 
  if-you-need-your-own-xxx.py-you-know-where-to-shove-it<wink>-ly 
  y'rs - tim
              -- Tim Peters dishes out versioning advice on python-dev




More information about the Python-list mailing list