Re: [whatwg/streams] Add totalSize caching to queue-with-size library (7215774)

I would just use _totalSize. Definitely no need to name this like an internal slot with double-bracket notation.

Also add a comment in the GetTotalQueueSize saying that this is not per-spec, for speed.

---
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/commit/72157748bc5543c0cedec3fc69ed94ab3bffdfe2#commitcomment-18485181

Received on Tuesday, 2 August 2016 10:19:58 UTC