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

ricea commented on this pull request.



>  
-A number of abstract operations are specified here to make working with queues-with-sizes more pleasant, and used
-throughout the rest of this standard.
+<p class="warning">Due to the vagaries of floating point arithmetic, the framework specified here, of keeping a running
+total in the \[[queueTotalSize]] slot, is <em>not</em> equivalent to adding up the size of all <a>chunks</a> in
+\[[queue]]. This is most apparent when the total size is very small or very large.</p>

Maybe this is overly pessimistic. We could say "This only makes a difference when there is huge (~10<sup>15</sup>) variance in size between chunks, or trillions of chunks are queued."

-- 
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#pullrequestreview-21705068

Received on Tuesday, 14 February 2017 09:18:45 UTC