Re: [whatwg/streams] ReadableStream.from(asyncIterable) (#1083)

Special casing arrays vs other iterables seems wrong to me. Is there no room for just optimizing array iterables more? I know SpiderMonkey has a specific [optimization for iterating over arrays](https://searchfox.org/mozilla-central/source/js/src/vm/ForOfIterator.cpp#101). (Please note that I don't want to make any performance claims here, this might well still be slower than Chrome anyway)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1083#issuecomment-881029925

Received on Thursday, 15 July 2021 21:39:06 UTC