[storm] why weakrefdict for cache?

Michael Bayer mike_mp at zzzcomputing.com
Tue Sep 4 19:49:39 BST 2007


On Sep 4, 2007, at 2:08 PM, Gustavo Niemeyer wrote:

> The Variable (Storm's wrapper) responsible for f.blub would register
> itself into two events: "flush" and "object-deleted".  When f dies,
> or when the store is flushed, the variable will be called back to
> check for changes.  At this point the new blub.y is detected, and the
> obj_info for the dead object gets added to the dirty set, and things
> go on normally.


ahhhhhh....now that is an idea worth....."adapting" :)





More information about the storm mailing list