Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 034c95a39716525d0f98bff011e1be261c9955b7 https://github.com/WebKit/WebKit/commit/034c95a39716525d0f98bff011e1be261c9955b7 Author: Yusuke Suzuki <ysuz...@apple.com> Date: 2024-11-20 (Wed, 20 Nov 2024)
Changed paths: M Source/JavaScriptCore/runtime/StringPrototype.cpp Log Message: ----------- [JSC] Add non-rope resolving fast path for toUpperCase https://bugs.webkit.org/show_bug.cgi?id=283440 rdar://140299315 Reviewed by Yijia Huang. This patch adds non-rope-resolving fast path for toUpperCase. Scanning that and returning the original string without resolving a rope when it is not necessary and when the rope is substring. After this, we will also attempt to add toLowerCase version too if it is profitable. * Source/JavaScriptCore/runtime/StringPrototype.cpp: (JSC::JSC_DEFINE_HOST_FUNCTION): Canonical link: https://commits.webkit.org/286876@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