Re: [whatwg/streams] Fix queue total size tracking logic (#661)

>  Unless I am very confused, I think the running-count methods and the sum-as-needed methods are equivalent as long as both use the same type of arithmetic.

Except you eventually have to subtract from the running-count total when you dequeue something, and that isn't equivalent, as said in https://github.com/whatwg/streams/issues/582#issuecomment-273016992 and tested in https://github.com/whatwg/streams/pull/657

-- 
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/pull/661#issuecomment-273637441

Received on Wednesday, 18 January 2017 23:40:34 UTC