Re: [streams] Custom tee function (#401)

I think it would be nice to remove the same object requirement for tee chunks.  We probably won't be able to relax that in the future once code starts depending on shared state between the streams.

Removing same object on the chunks creates a memory penalty with the simple implementation, but it seems like copy-on-write is a simple optimization that could be applied here.  (I say "simple", but I'm not a JS engine guy...)

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

Received on Thursday, 29 October 2015 13:19:12 UTC