ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zodb-dev
zodb-dev
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved