- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 17 Jan 2017 11:06:33 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 17 January 2017 19:07:07 UTC
To me this is a good argument for codifying the "shortcut" (what the reference implementation does) in the spec. It doesn't seem important to me to support arbitrary precision arithmetic, where the size gets larger than MAX_SAFE_INTEGER or the chunk sizes are very small or similar. Maybe we should even specify that the arithmetic should be performed as double-precision. It's also worth noting that in general we're allowed to fail to follow the spec when things grow out of bounds. E.g., in the extreme case, we're allowed to crash with out of memory errors. This seems somewhat analogous. -- 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-273266353
Received on Tuesday, 17 January 2017 19:07:07 UTC