- From: Henri Sivonen <notifications@github.com>
- Date: Thu, 13 Dec 2018 04:03:02 -0800
- To: whatwg/encoding <encoding@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 13 December 2018 12:03:25 UTC
Looks correct to me, but it took me a moment to realize that the algorithm always loops over all tokens and the loop just does not necessarily write all the output. While an early return might be just an optimization, it might make the algorithm more comprehensible. -- 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/pull/166#issuecomment-446944831
Received on Thursday, 13 December 2018 12:03:25 UTC