Chris Withers wrote:
> Laurence Rowe wrote:
>> Jim Fulton wrote:
>>> Well said. A feature I'd like to add is the ability to have persistent  
>>> objects that don't get their own database records, so that you can get  
>>> the benefit of having them track their changes without incuring the  
>>> expense of a separate database object.
>> +lots
>>
>> Hanno Schlichting recently posted a nice graph showing the persistent 
>> structure of a Plone Page object and it's 9 (!) sub-objects. 
>> http://blog.hannosch.eu/2009/05/visualizing-persistent-structure-of.html
> 
> That graph isn't quite correct ;-)
> 
> workflow_history has DateTime objects in it, and I think they get their 
> own pickle.

Nope. DateTime objects are plain old-style classes and don't inherit
from persistent.*. They are incredibly expensive to unpickle since all
the DWIM magic in their __init__ get called each time, though.

Hanno

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to