> Why not store the events on some BTree or similar structure with a
> simple unique integer id, and use a separate BTree to map dates to these
> events? You can even use zc.catalog or similar tools to create that
> mapping - you would get a lot of query options for free with those as well.
Yeah, that would require a lot of changes, but it would be definitely
great. What does zc.catalog have that zope.catalog doesn't, by the way?
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org