Use __del__ methods to improve gc?
Edward K. Ream
edreamleo at charter.net
Thu Jun 12 08:35:43 EDT 2003
My app has unlimited undo. As a result, most "user" data never truly gets
deleted: the undo stack keeps references to all such data alive "forever".
I am wondering whether it would be a good idea to put dummy __del__ methods
in the user data classes. Would this help the gc by telling the gc what not
to look at?
Thanks,
Edward
--------------------------------------------------------------------
Edward K. Ream email: edreamleo at charter.net
Leo: Literate Editor with Outlines
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------
More information about the Python-list
mailing list