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 _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev