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

  Changed paths:
    M Source/JavaScriptCore/parser/Lexer.cpp

  Log Message:
  -----------
  [JSC] Scan string literal with SIMD
https://bugs.webkit.org/show_bug.cgi?id=296917
rdar://157537935

Reviewed by Keith Miller.

This patch introduces SIMD scanning for JS lexer's string literal
parsing. String literal tends to be longer than any other things in
general, and scanning it quickly via SIMD is effective.

* Source/JavaScriptCore/parser/Lexer.cpp:
(JSC::Lexer<T>::parseString):
(JSC::Lexer<T>::parseComplexEscape):
(JSC::Lexer<T>::parseStringSlowCase):

Canonical link: https://commits.webkit.org/298253@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