24 Feb
2002
24 Feb
'02
3:12 p.m.
On Sun, Feb 24, 2002 at 12:46:03PM +0100, Frank Tegtmeyer wrote:
Instead of "seen" just use dictionary.
Which dictionary do you mean? Or was meant "just use a dictionary"?
Yes, just use a dictionary. Hash lookups are *much* faster than linear search that "in" does. Oleg. -- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.