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

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to