[Zope-CMF] RE: [Zope-dev] Performance problem in ZOPE 2.5.1, 'getOwner' in /lib/python/AccessControl/Owned.py

Florent Guillaume fg@nuxeo.com
Sat, 7 Sep 2002 14:18:29 +0000 (UTC)


Stefan H. Holek <stefan@epy.co.at> wrote:
> Gotcha! I did actually expect that.
> 
> XUF defines __len__ to return the number of users. This absolutely kills 
> performance on Zope 2.4+
> 
> See my patch at http://www.zope.org/Members/shh/Patches

Hmm, just curious: what part of the code does (implicitely or
explicitely) call __len__ on the user folder?

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com