Speed difference, which version to use?
Michael Ströder
michael at stroeder.com
Fri Jun 14 19:47:08 CEST 2002
Michael Ströder wrote:
> Anders Karlsson wrote:
>
> You could try a very simple result() implementation (tweak
> Lib/ldap/ldapobject.py):
>
> def result(self,msgid=_ldap.RES_ANY,all=1,timeout=-1):
> return self._ldap_call(self._l.result,msgid,all,timeout)
>
Just a warning: This is not meant as serious replacement. Just for
measuring the performance. Rest of LDAPObject class would have to
be tweaked too.
Ciao, Michael.
More information about the python-ldap
mailing list