[ZODB-Dev] PersistentMapping good for large numbers of objects?

Dieter Maurer dieter at handshake.de
Fri Jul 18 21:13:58 EDT 2003


Tim Peters wrote at 2003-7-17 14:45 -0400:
 > ...
 > keys() has to find both (but only) the first and
 > last ("leftmost" and "rightmost") buckets to get the lazy iterator started.

Just out of curiosity:

  Why does the lazy iterator need the rightmost bucket?

  It could start with the leftmost one and iterate from there
  over the leaves until it reaches the last one...


Dieter



More information about the ZODB-Dev mailing list