Bug 254594

Summary: Avoid some string allocations in JSStringJoiner::join()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: JavaScriptCoreAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2023-03-28 09:11:56 PDT
Avoid some string allocations in JSStringJoiner::join(), in the common case where the StringViewWithUnderlyingString's view covers the whole underlying string.
Comment 1 Chris Dumez 2023-03-28 09:13:59 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12056
Comment 2 EWS 2023-03-28 10:40:35 PDT
Committed 262228@main (72ed5e715480): <https://commits.webkit.org/262228@main>

Reviewed commits have been landed. Closing PR #12056 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-03-28 10:41:19 PDT
<rdar://problem/107323654>