Thomas Lotze wrote at 2008-2-26 09:30 +0100:
>Dieter Maurer wrote:
>
>> How often do you need it?
>> It is worse the additional index? Especially in view that a storage may
>> contain a very large number of transactions?
>
>We've done it differently now anyway, using real iterators which store
>their state on the server and get garbage-collected when no longer needed.

Fine. In "dm.historical", you could find an alternative:

  It uses exponentially increasing prefetching and
  loads about 2*2**n records to get the first 2**n records.
  This means, it has amortized linear runtime complexity.



-- 
Dieter
_______________________________________________
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

Reply via email to