Re: (New idea) Resizing an array: Dangerous? Possibly buggy?

2011-03-11 Thread Jonathan M Davis
On Friday 11 March 2011 21:40:36 %u wrote: > >> 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 mem

Re: (New idea) Resizing an array: Dangerous? Possibly buggy?

2011-03-11 Thread %u
>> 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 nondeterminis