mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
d0b11af387
The typeof operator has a very small set of possible resulting strings, so let's make it much faster by caching those strings on the VM. ~8x speed-up on this microbenchmark: for (let i = 0; i < 10_000_000; ++i) { typeof i; } |
||
---|---|---|
.. | ||
Libraries | ||
Services | ||
Utilities |