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

One thing I don't get is the inconsistency between byte queues and non byte queues. Bytestream controllers have [[totalQueuedBytes]], which is constantly updated, but the default controller uses GetTotalQueueSize, and the reference implementation doesn't even follow that as-written and keeps a running total like bytestream controllers do, because it's more efficient.

Shouldn't both be either one or the other?

-- 
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#issuecomment-257382018

Received on Monday, 31 October 2016 18:40:50 UTC