Re: [whatwg/streams] Using fetch streams API without recursion (#958)

Thanks for a thorough answer. In the end, the culprit was actually the Chrome/Firefox debuggers themselves!! I changed my Console.Log to document.write for debug output, closed the debugger and the first code sample worked fine with both large and small chunks. My code did already handle split characters/JSON, although not elegantly. So I did a re-write as suggested: pastebin.com/hWGtQZvA but it wasn't as performant as my original code (surprisingly). So the fastest and 100% native code ended up as pastebin.com/Dr1CQVa2 which I'll now further refine. Thanks!

-- 
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/958#issuecomment-445780469

Received on Monday, 10 December 2018 11:15:33 UTC