[ZODB-Dev] Indexing and dates/times

Pedro Ferreira jose.pedro.ferreira at cern.ch
Tue Jul 13 07:54:10 EDT 2010


> 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



More information about the ZODB-Dev mailing list