ladybird/Userland
Andreas Kling d0b11af387 LibJS: Make typeof a lot faster by caching all possible results
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;
    }
2024-07-23 11:47:37 +02:00
..
Libraries LibJS: Make typeof a lot faster by caching all possible results 2024-07-23 11:47:37 +02:00
Services RequestServer: Make the ThreadPool global 2024-07-23 08:56:59 +02:00
Utilities UI: Rename s_serenity_resource_root to s_ladybird_resource_root 2024-07-21 15:59:25 -06:00