Re: [whatwg/encoding] Add Streams support (#72)

@ricea can you talk a bit more about the performance issue?

If the piped stream is enqueued using JS, won't there be a similar de-opt? What about:

```js
const decoder = new TextDecoder();

jsCreatedStream.pipeTo(decoder.writable, {preventClose: true}).then(() => {
  return fetchStream.pipeThrough(decoder);
});
```

How would that be different from:

```js
const decoder = new TextDecoder();

decoder.decode(whatever, {stream: true});
fetchStream.pipeThrough(decoder);
```

-- 
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/encoding/issues/72#issuecomment-251319306

Received on Tuesday, 4 October 2016 07:55:56 UTC