Re: How to correctly spec sequences requiring an iterable

On Mon, Nov 18, 2013 at 10:09 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> The performance cost of using the object-happy insanity that is
> IteratorStep/IteratorValue completely dwarfs the extra over an array here,
> as far as I can tell.  ;)

As noted in the threads about iterators, engines should be able to
optimize this away in common cases, like a for-of loop.

~TJ

Received on Monday, 18 November 2013 18:46:43 UTC