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

I'm doubtful that special-casing arrays would give serious performance benefits, and so I'd prefer we keep things generic (with uniform observable behavior) unless we have some performance data that it'd be problematic. I think we're talking about avoiding a couple microtasks, and some `{ value, done }` wrapping/unwrapping, which doesn't seem like it'd be significant.

-- 
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-877355807

Received on Friday, 9 July 2021 17:51:16 UTC