Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 69e363d0d8759eaeef052eb2bf4771041c9e0803
      
https://github.com/WebKit/WebKit/commit/69e363d0d8759eaeef052eb2bf4771041c9e0803
  Author: Yusuke Suzuki <[email protected]>
  Date:   2024-11-08 (Fri, 08 Nov 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/RegExpInlines.h
    M Source/JavaScriptCore/runtime/RegExpObjectInlines.h

  Log Message:
  -----------
  [JSC] RegExp::matchInline should have fast atom path
https://bugs.webkit.org/show_bug.cgi?id=282806
rdar://139487903

Reviewed by Yijia Huang.

This patch adds atom fast path for RegExp::matchInline. We use
AdaptiveStringSearcherTables in VM to accelerate string searching.
We also remove some dead code. String's max length is INT32_MAX.

* Source/JavaScriptCore/runtime/RegExpInlines.h:
(JSC::RegExp::matchInline):
* Source/JavaScriptCore/runtime/RegExpObjectInlines.h:
(JSC::genericMatches):
(JSC::collectGlobalAtomMatches):

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

Reply via email to