[Zope] ZCatalog results.

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Sun, 24 Feb 2002 18:12:49 +0300


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.