Re: [streams] Support reading bytes into buffers allocated by user code on platforms where only async read is available (#253)

@yutakahirano 

> Is there any possibility that feeding multiple buffers has a performance gain? @tyoshino suggested a case where pull()'s cost is high before, but because of the following reasons, I don't think we will suffer from it.
>
> - Object streams have a queue.
> - For byte streams, the read() calling cost should be negligible if the given buffer is large enough.

I think you are right that it is probably not a very important use case. However it might make more abstract sense in terms of how the model works. We will see when we prototype.

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

Received on Monday, 9 March 2015 04:14:19 UTC