Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: babf286f913efa4e6223d73bdbe3d720ad28f430
      
https://github.com/WebKit/WebKit/commit/babf286f913efa4e6223d73bdbe3d720ad28f430
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2025-08-05 (Tue, 05 Aug 2025)

  Changed paths:
    M Source/JavaScriptCore/runtime/LiteralParser.cpp

  Log Message:
  -----------
  [JSC] LiteralParser Lexer should not do double-lookup for dispatch
https://bugs.webkit.org/show_bug.cgi?id=296915
rdar://157535403

Reviewed by Keith Miller.

We do the same optimization to #48939, for LiteralParser. We do not need
to have double-lookup for dispatching lexing. We should just have a
character and dispatch a switch directly with that.

* Source/JavaScriptCore/runtime/LiteralParser.cpp:
(JSC::isJSONWhiteSpace):
(JSC::reviverMode>::Lexer::lex):

Canonical link: https://commits.webkit.org/298258@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to