- From: Till Schneidereit <notifications@github.com>
- Date: Tue, 17 Jan 2017 13:43:24 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 17 January 2017 21:43:56 UTC
I agree that codifying the shortcut makes the most sense. If people are really concerned about the corner cases, we could add checks to `DequeueValue` and recalculate the cached total size if it becomes negative or is `MAX_SAFE_INTEGER` before subtracting the dequeue'd value's size. I don't think that that's required though, mostly because all implementations will end up behaving in the same way in these situations. -- 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-273309447
Received on Tuesday, 17 January 2017 21:43:56 UTC