mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +00:00
This avoids a virtual dispatch upon invoking the element size getter. The size is static, so we could make TypedArrayBase templated with a NTTP for the size, but let's not undergo such a wide-spread refactor. On https://cyxx.github.io/another_js, this reduces the runtime of IsValidIntegerIndex from 8.9% to 7.1%.