Huh, interesting, okay.

I think pitfalls like this one (with the garbage collector, for
example) should definitely be documented somewhere. I would imagine
that quite a few people who try to set the length of an array won't
realize that they can run out of memory this way, especially because
it's nondeterministic in many cases.

Anyway, thanks for the response!

Reply via email to