From: Ralf J. <jue...@cs...> - 2007-01-08 21:35:32
|
On Mon, 8 Jan 2007, Leon Bottou wrote: > Yes. > The creation of an object might also implicitely create lots of > other objects (the contents of its slots for instance). > If you only delete the object, you reclaim only a fragment of the memory. > So you'd have to track the dependencies and build a full runtime garbage collector. OTOH, the in-pool facility as it is right now already is a hack where one needs to be mindful when using it. Why not, for now, add a plain, simple deallocation function so that at least one could do what one can do in C (it's all I need for my binary search tree, for instance)? Ralf |