- From: Adam Rice <notifications@github.com>
- Date: Fri, 03 Aug 2018 02:53:32 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 3 August 2018 09:53:55 UTC
Even if we assume bytes, we still have to sanity check the value. For TextDecoderStream, I want to set HWM to 1 to avoid adding unneeded buffering to the pipe. But if pipeTo() read 1 byte at a time, that would be pretty catastrophic for efficiency. On the other end of the scale, the writable might have HWM set to `Infinity` to disable flow control altogether. I haven't got any good answer except maybe to say that "implementations should choose a reasonable value". -- 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/938#issuecomment-410205391
Received on Friday, 3 August 2018 09:53:55 UTC