mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-04 12:34:22 +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.