mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-10 17:12:41 +02:00
Teach the PrimitiveString substring creation path to return the VM's preallocated single-character ASCII strings instead of always allocating a deferred Substring. This keeps one-code-unit ASCII substrings on the same fast path as direct string creation, including callers like charAt and indexed string property access.
16 KiB
16 KiB