Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e2ede524d17cb259d7342c6da01e9900e31cbdcf
https://github.com/WebKit/WebKit/commit/e2ede524d17cb259d7342c6da01e9900e31cbdcf
Author: Yusuke Suzuki <[email protected]>
Date: 2024-11-21 (Thu, 21 Nov 2024)
Changed paths:
M Source/JavaScriptCore/runtime/StringPrototype.cpp
Log Message:
-----------
[JSC] Add non-rope resolving fast path for toLowerCase
https://bugs.webkit.org/show_bug.cgi?id=283475
rdar://140329952
Reviewed by Yijia Huang.
Doing the same optimization to 286876@main for toLowerCase pattern.
Let's avoid resolving ropes when unnecessary.
* Source/JavaScriptCore/runtime/StringPrototype.cpp:
(JSC::replace):
(JSC::JSC_DEFINE_HOST_FUNCTION):
(JSC::stringIndexOfImpl):
(JSC::toLocaleCase):
(JSC::trimString):
Canonical link: https://commits.webkit.org/286914@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