Re: How to correctly spec sequences requiring an iterable

On 11/18/13 1:45 PM, Tab Atkins Jr. wrote:
> As noted in the threads about iterators, engines should be able to
> optimize this away in common cases, like a for-of loop.

Sort of.  Optimizing it away requires special-case code that's pretty 
fragile and non-trivial.  I have no current plans to write such code for 
WebIDL sequences, fwiw.  We'll see how I feel once I measure the 
resulting performance.

-Boris

Received on Monday, 18 November 2013 18:53:55 UTC