mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
We are often forced to convert numbers to strings inside LibJS, e.g when iterating over the property names of an array, but it's also just a very common operation in general. This patch adds a 1000-entry string cache for the numbers 0-999 since those appear to be by far the most common ones we convert.
7.0 KiB
7.0 KiB