> If you use the timestamp as the key and you want to retrieve all values > between two timestamps (inclusive), you can do > > my_btree.values(min=start, max=end) >
Yes, but, as I mentioned in my answer to Jim's mail, my concern is the performance of this "range" operation for a very large range. If you tell me it will be OK, I won't hesitate :). Regards, Pedro -- José Pedro Ferreira Indico Team IT-UDS-AVC 513-R-0042 CERN, Geneva, Switzerland _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev