[Zope-CMF] cmf zpt_generic/search - sequence_length is very slow for large collections, len () is much faster.

Henryk Paluch hpaluch at gitus.cz
Mon Jan 3 05:39:39 EST 2005


..

> container.log_me('initating search for %s %f' % ( str(kw),t1 ) )

Hi!
  Just for explanation - log_me is very simple External method, that
looks like:
import zLOG

def log_me(self,str):
   zLOG.LOG("log_me",zLOG.ERROR,str)

Best regards.

-- 
---(c)--------------------------------------------------
GITUS, s.r.o. Spitalska 2a, 190 00 Praha 9, CZ
Henryk Paluch - analytik/programator
mailto: hpaluch at gitus.cz  http://www.gitus.cz
--------------------------------------------------------



More information about the Zope-CMF mailing list