[webkit-changes] [WebKit/WebKit] ce7c04: [JSC] Tighten JSString::resolveToBuffer
Yusuke Suzuki
noreply at github.com
Thu Dec 12 10:42:17 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ce7c04479c895c39387b1d5f6adb039f58b81ab9
https://github.com/WebKit/WebKit/commit/ce7c04479c895c39387b1d5f6adb039f58b81ab9
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-12-12 (Thu, 12 Dec 2024)
Changed paths:
M Source/JavaScriptCore/runtime/JSStringInlines.h
Log Message:
-----------
[JSC] Tighten JSString::resolveToBuffer
https://bugs.webkit.org/show_bug.cgi?id=284563
rdar://141363453
Reviewed by Keith Miller.
1. resolveToBufferSlow should not be inlined.
2. retrieve length of ropes and reuse these variables.
* Source/JavaScriptCore/runtime/JSStringInlines.h:
(JSC::JSRopeString::resolveToBufferSlow):
(JSC::JSRopeString::resolveToBuffer):
Canonical link: https://commits.webkit.org/287753@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