Files
ladybird/Userland/Libraries/LibJS/Runtime/PrimitiveString.cpp
Andreas Kling f290c59dd8 LibJS: Keep track of PrimitiveStrings and share them
VM now has a string cache which tracks all live PrimitiveStrings and
reuses an existing one if possible. This drastically reduces the number
of GC-allocated strings in many real-word situations.
2021-10-02 16:39:28 +02:00

2.5 KiB