One thing I haven’t got my mind around yet: I notice that zodb is fairly
active about calling __getstate__ and __setstate__. When a container gets pickled to be put into zodb, what happens to the subtree? Is it just left as a big
“clump of stuff” for the garbage collector to deal with? If so,
maybe __parent__ should be a weakref, because tracing
around all of the cycles in the tree by the gc must surely be inefficient, and using a weakref here should make the subtrees
“dissolve” more easily. - Shaun |
_______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com