- From: Gaubee <notifications@github.com>
- Date: Mon, 02 Aug 2021 06:15:02 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 2 August 2021 13:15:14 UTC
> The alternative would be using 64bit numbers but that'd have a major impact on memory usage. I don't think it's necessary to use 64-bit numbers, which is not a complete solution to the problem idea. It is well known that 64-bit numbers are simply two 32-bit numbers combined. So why not just go ahead and do it that way? ``` ele.addEvent('scroll', event=>{ // default = 0n ele.scrollTopHeight const bigScrollTop = ele.scrollTopHeight << 32n + BigInt(event.scrollTopHeight); }); ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/791#issuecomment-891017174
Received on Monday, 2 August 2021 13:15:14 UTC