mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 17:12:55 +02: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