[ZODB-Dev] Re: ZODB Benchmarks
    Sidnei da Silva 
    sidnei at enfoldsystems.com
       
    Tue Nov  6 14:40:00 EST 2007
    
    
  
> Despite this change there are still a huge amount
> of unexplained calls to the 'persistent_id' method of the ObjectWriter
> in serialize.py.
Why 'unexplained'? 'persistent_id' is called from the Pickler instance
being used in ObjectWriter._dump(). It is called for each and every
single object reachable from the main object, due to the way Pickler
works (I believe). Maybe persistent_id can be analysed and optimized
for the most common cases?
-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214
    
    
More information about the ZODB-Dev
mailing list