[webkit-changes] [WebKit/WebKit] c49453: [JSC] Use CachedCall::callWithArguments when numSu...
Yusuke Suzuki
noreply at github.com
Fri Feb 28 23:18:18 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c49453866fccaba48045de28e358c0f0e473c417
https://github.com/WebKit/WebKit/commit/c49453866fccaba48045de28e358c0f0e473c417
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2025-02-28 (Fri, 28 Feb 2025)
Changed paths:
M Source/JavaScriptCore/runtime/StringPrototype.cpp
Log Message:
-----------
[JSC] Use CachedCall::callWithArguments when numSubpatterns is zero
https://bugs.webkit.org/show_bug.cgi?id=288905
rdar://145905074
Reviewed by Yijia Huang.
Use CachedCall::callWithArguments for the case where numSubpatterns is zero,
since it is much faster.
* Source/JavaScriptCore/runtime/StringPrototype.cpp:
(JSC::replaceUsingRegExpSearchWithCache):
Canonical link: https://commits.webkit.org/291430@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list