Bug 254594 - Avoid some string allocations in JSStringJoiner::join()
Summary: Avoid some string allocations in JSStringJoiner::join()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-28 09:11 PDT by Chris Dumez
Modified: 2023-03-28 10:41 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>