Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a3b8b60c0f4c1885b1f399c85a4175b15ee15ccb
https://github.com/WebKit/WebKit/commit/a3b8b60c0f4c1885b1f399c85a4175b15ee15ccb
Author: Yusuke Suzuki <[email protected]>
Date: 2025-02-27 (Thu, 27 Feb 2025)
Changed paths:
M Source/JavaScriptCore/parser/Lexer.cpp
Log Message:
-----------
[JSC] Add fast IDENT path for one character
https://bugs.webkit.org/show_bug.cgi?id=288610
rdar://145667037
Reviewed by Keith Miller.
JavaScript is minified in the real world websites in most of cases. This
means that one character Identifier in the source code can be seen very
frequently. We add a super fast path in the parser handling one
character identifier.
* Source/JavaScriptCore/parser/Lexer.cpp:
(JSC::Lexer<T>::lexWithoutClearingLineTerminator):
Canonical link: https://commits.webkit.org/291213@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes