Immediate closing of iterators

Brendan Eich brendan at
Fri Dec 15 13:31:38 PST 2006

On Dec 15, 2006, at 11:34 AM, Jeff Thompson wrote:

> 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:// 
>> requests.
> Yes, as you say, I'm only talking about the case of the for-in loop.
> Thanks for looking into this.

TG1 members here today agreed to specify normative prompt close if  
the for-in's generator-iterator can't escape -- yay!

I'll comment in the Mozilla bug.


More information about the Es4-discuss mailing list