[ZODB-Dev] Re: OOTreeSet object retrieval

Torgil Svensson torgil.svensson at gmail.com
Mon Nov 20 11:01:11 EST 2006


On 11/20/06, Torgil Svensson <torgil.svensson at gmail.com> wrote:

> If not, I suggest that __getitem__ should be implemented for the
> OOTreeSet class so performance gains like this is possible.

__getitem__ might not be a good choice here since it'll get different
semantics for OOBTree and OOTreeSet. What I want is a get_key() [or
similar] - function. This is very useful for both OOBTree and
OOTreeSet.


More information about the ZODB-Dev mailing list