Re: [streams] Performance Check vs. Node Streams (#304)

Yeah, the purpose of the reference implementation is to transliterate the spec directly into JS, and not to be a usable polyfill. In particular a lot of the stuff we're doing around the queue-with-sizes is probably ridiculously unoptimized, not just at a VM level but also on an algorithmic level.

Next month I'll likely be working on a V8 extension version of the streams, with a target of maybe having it ship. *That* one will actually be optimized.

And yeah, the V8 promises being slow thing is going to really suck :-/.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/304#issuecomment-84265964

Received on Saturday, 21 March 2015 06:29:09 UTC