[Zope-dev] Re: BTreeFolder2.objectIds() - accessing _tree.keys() slow

Florent Guillaume fg at nuxeo.com
Thu Jan 12 18:03:37 EST 2006


sean.upton at uniontrib.com wrote:
> I have very large BTreeFolder2 (CMFMember via BaseBTreeFolder in Archetypes)
> - has about 260k items in _tree - objectIds() is painfully slow, as is
> self._tree.keys()

Independently of the fastest way, I'm curious what use case you have to 
have a need to get all the keys of a big BTree.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope-Dev mailing list