mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-23 08:57:28 +00:00
It would be cool to solve this in a general way so that looking up a string literal or StringView in a HashMap with String keys avoids creating a temp string. For now, this patch simply addresses the issue in JS::Lexer. This is a 2-3% speed-up on test-js.
20 KiB
20 KiB