On Sep 14, 2009, at 7:04 AM, Jim Fulton wrote:
> On Mon, Sep 14, 2009 at 7:10 AM, Chris Withers
> <ch...@simplistix.co.uk> wrote:
>> Jim Fulton wrote:
>>> ZODB doesn't provide any direct support because it has no notion
>>> of tree.
>> Does it have any notion of object size on disk for a given object?
> Not directly, but you can do:
> len(ob._p_jar.db().storage.load(ob._p_oid, ''))+42
What's the extra 42 for? Aside from life, the universe, and
New tools and strategies for engaging people in protecting the
work: (206) 286-1235 x32
mobile: (206) 679-3833
Subscribe to ONEList, our email newsletter!
Practical advice for effective online engagement
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org