OOSet (was Re: [ZODB-Dev] simple newbie BTrees.Length question

Christian Robottom Reis kiko at async.com.br
Tue Jan 20 17:19:03 EST 2004


On Tue, Jan 20, 2004 at 06:01:18PM +0800, Bakhtiar A Hamid wrote:
> is there any logic in this class?  i want to store a list/seq, and thought of 
> using OOBTree.  however, chrism pointed out that OOBTree is best for 
> mapping/dict.

Yes, there is logic in an OOSet -- just read BTrees/Interfaces.py if you
want to make more sense of it. However, it doesn't seem to make much
sense if you're storing lists in your OOSet. What do you want to store
sequences of? Are the items unique? 

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331



More information about the ZODB-Dev mailing list