Files
ladybird/Libraries/LibJS/Runtime/Array.cpp
Andreas Kling 7a4e74be96 LibJS: Don't skip indexed property storage switching in Array fast path
If we call put() directly on the underlying indexed property storage
like we were doing here, we skip the checks that switch from flat to
sparse property storage when a huge index is suddenly accessed.

This was caught by folks hitting memory issues when running test-js.
2026-01-07 07:52:03 -05:00

19 KiB