[ZODB-Dev] Re: Questions on ZODB BTrees versus bsddb BTrees

Terry Jones terry at jon.es
Fri May 5 10:08:17 EDT 2006


Hi Florent

| For the values stuff, what people usually do is have two BTrees that hey
| keep in sync, one being the reverse of the other. Finding all values >= X
| is then simply a matter of using the proper API on the reverse Tree (and
| it's fast).

Ok, thanks. People on zope-dev pointed me to ZCatalog, which also does
things as you describe. There has just been a little discussion on that
list (with some mention of duplicate & secondary keys) in case you're
interested.

Regards,
Terry


More information about the ZODB-Dev mailing list