June 29, 2013
9:52 a.m.
On Jun 29, 2013, at 11:47 AM, Norbert Hartl <norbert@hartl.name> wrote:
Thanks. So please let us separate problems. In the example from Sven there are two problems:
- increase of memory per function invocation. That problem we don't have
Yes, you are right. I am not really knowledgeable about JavaScript⦠especially the strange stuff in there. ;-)
- easily keeping a reference to memory preventing it from being garbage collected. That is what you are talking about. And to me there is nothing wrong with it
Yes. It could lead to an object not being GCed, but this should not be problem in practice. Marcus