aboutsummaryrefslogtreecommitdiff
path: root/src/js_lexer.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/js_lexer.zig')
-rw-r--r--src/js_lexer.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js_lexer.zig b/src/js_lexer.zig
index 5191d7095..45c8dd982 100644
--- a/src/js_lexer.zig
+++ b/src/js_lexer.zig
@@ -1574,6 +1574,7 @@ pub fn NewLexer(comptime json_options: JSONOptions) type {
// this code is so hot that if you save lexer.raw() into a temporary variable
// it shows up in profiling
lexer.identifier = lexer.raw();
+ // switching to strings.ExactSizeMatcher doesn't seem to have an impact here
lexer.token = Keywords.get(lexer.identifier) orelse T.t_identifier;
} else {
const scan_result = try lexer.scanIdentifierWithEscapes(.normal);