-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://bugs.webkit.org/show_bug.cgi?id=259678 rdar://113191047 Reviewed by Mark Lam. This patch uses more jsSubstring + JSString* form instead of jsSubstring + WTF::String form since it can have more opportunities for optimizations including 2-characters atomizations. * Source/JavaScriptCore/runtime/StringPrototype.cpp: (JSC::replaceUsingRegExpSearch): * Source/JavaScriptCore/runtime/StringPrototypeInlines.h: (JSC::replaceUsingStringSearch): Canonical link: https://commits.webkit.org/266481@main
- Loading branch information
1 parent
824a664
commit 2d05c14
Showing
2 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters