[webkit-changes] [WebKit/WebKit] 31d2cb: [JSC] Apply atomization for small split string cac...

Yusuke Suzuki noreply at github.com
Tue Feb 4 04:20:47 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 31d2cb68c08c76d306b15ea03a19853d3095f3bb
      https://github.com/WebKit/WebKit/commit/31d2cb68c08c76d306b15ea03a19853d3095f3bb
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M Source/JavaScriptCore/runtime/StringPrototype.cpp

  Log Message:
  -----------
  [JSC] Apply atomization for small split string cache array as V8 is doing
https://bugs.webkit.org/show_bug.cgi?id=284662
rdar://141460468

Reviewed by Justin Michaud.

Follow to what V8 is doing for split cache. We do atomization for the
resulted strings when the array is shorter than 100.

* Source/JavaScriptCore/runtime/StringPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):

Canonical link: https://commits.webkit.org/289778@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