On Thu, 5 Nov 2009, Hans-Christoph Steiner wrote:
On Nov 5, 2009, at 12:33 AM, Mathieu Bouchard wrote:
An endlessly growing array is just like a memory leak except that some people refuse to call it as such.
I don't know anything about the Tcl garbage collectiion, are you saying it would not work on Tcl array elements?
Tcl's memory management can't guess what you mean when you don't unset array elements that you don't need. It doesn't know that you won't ever use them again and it cannot know. This is the same in any language, thus, it doesn't depend on the language, and it's not the language's fault, nor the interpreter's fault, etc.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801