On Mon, Feb 20, 2012 at 07:42:07PM +0100, a wrote: > >But if you only access it via push() and pop(), then there are no > >other references to the stack, so why should the GC reallocate it > >on append? > > Because the GC doesn't know there aren't any other references to it > unless you tell it with assumeSafeAppend.
Ahh, I see. Thanks! T -- Being able to learn is a great learning; being able to unlearn is a greater learning.