Immediate closing of iterators
jeff at thefirst.org
Fri Dec 15 11:34:58 PST 2006
Brendan Eich wrote:
> What's wanted is that close run promptly *only* in the case of a for-in
> loop where no reference to the iterator-generator escapes to the heap.
> This is a reasonable thing to want, and it's what
> https://bugzilla.mozilla.org/show_bug.cgi?id=349326 requests.
Yes, as you say, I'm only talking about the case of the for-in loop.
Thanks for looking into this.
More information about the Es4-discuss