[webkit-changes] [WebKit/WebKit] 8fdd79: [JSC] Avoid resolveRope when substring can be done...

Yusuke Suzuki noreply at github.com
Tue Oct 1 12:45:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8fdd799e8a93f7c2e10e238cc6d51ac8ff7d6ab0
      https://github.com/WebKit/WebKit/commit/8fdd799e8a93f7c2e10e238cc6d51ac8ff7d6ab0
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-10-01 (Tue, 01 Oct 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/JSString.h

  Log Message:
  -----------
  [JSC] Avoid resolveRope when substring can be done in leaf of rope
https://bugs.webkit.org/show_bug.cgi?id=280597
rdar://136944730

Reviewed by Yijia Huang and Michael Saboff.

Let's avoid resolving ropes when substring is part of the underling leaf
of the rope string.

* Source/JavaScriptCore/runtime/JSString.h:
(JSC::jsSubstring):

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