[whatwg/streams] "Set totalSize to totalSize + pair.[[size]]." (#582)

https://streams.spec.whatwg.org/#get-total-queue-size

> Set totalSize to totalSize \+ pair\.\[\[size\]\]\.

Maybe there should be a note here that this algorithm can't be used as-is because it results in O(N^2) behaviour? I just tripped over this myself.

-- 
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/582

Received on Monday, 31 October 2016 11:40:37 UTC