- From: Anne van Kesteren <notifications@github.com>
- Date: Sat, 13 Jan 2018 05:07:43 -0800
- To: whatwg/encoding <encoding@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 13 January 2018 13:08:06 UTC
I think I'd personally be okay if the standard just said that you had to wait for 1024 bytes before decoding and if you could optimize around that, it would be okay too. The difference should only be observable performance-wise, which seems acceptable. And we can encourage implementations to do the fast thing. I think that remains true if we add encoding sniffing. Rewriting the specifications to have the proper abstractions would be somewhat nicer obviously, but seems like a lot more effort. Note that we still have to change "decode" to also return the chosen encoding to the caller (and adjust any callers as appropriate). -- 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/128#issuecomment-357433946
Received on Saturday, 13 January 2018 13:08:06 UTC