Re: [whatwg/streams] Cloning (not teeing) a readable stream, via controller tricks (#599)

> How large is the expected performance benefit?

I don't think there's any performance benefit. It's only about the semantics benefit. There's still one copy being performed. The procedure here seems slightly more expensive in terms of one-time costs of shuffling things around, but probably not in a noticable way.

> If this is already a thing for media streams on the platform, it seems weird not to have it elsewhere.

The thing to remember about media streams is that they are misnamed. They are really more like media pointers, i.e., opaque handles to media data which cannot be introspected or read from, only plugged in to various APIs.

-- 
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/issues/599#issuecomment-261258669

Received on Thursday, 17 November 2016 14:23:25 UTC