Re: [whatwg/url] Record whether the URL parser removed newlines. (#284)

https://github.com/whatwg/url/pull/284/commits/1ab78b56b2af12ab26435206a12f51efb254febd changes the algorithm to bring it in line with what I expect implementations are doing today: copying non-tab/newline characters to a new string. Setting this flag turns into one extra `if` in that loop; we don't actually have to walk the whole string a second time.

WDYT?

-- 
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/url/pull/284#issuecomment-303327847

Received on Tuesday, 23 May 2017 08:28:01 UTC