Re: [ZODB-Dev] Re: Re: IStorageIteration

2008-02-27 Thread Dieter Maurer
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


[ZODB-Dev] Re: Re: IStorageIteration

2008-02-26 Thread Thomas Lotze
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.

-- 
Thomas



___
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