Re: [ZODB-Dev] List of references to all objects from ZODB?
by Jeremy Hylton other posts by this author
Nov 4 2002 5:44PM messages near this date
Re: [ZODB-Dev] List of references to all objects from ZODB?
|
Re: [ZODB-Dev] List of references to all objects from ZODB?
Can't you just use all the _index attribute of the FileStorage? If
the oid isn't in _index, there's no way FileStorage is going to load
it. It seems more efficient to use the list of known oids than to do
a has_key() for every possible oid.
Jeremy
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/
ZODB-Dev mailing list - ZODB-Dev@[...].org
http://lists.zope.org/mailman/listinfo/zodb-dev
Thread:
Magnus Lycka
Greg Ward
Jeremy Hylton
Magnus Lycka
Toby Dickenson
|