Bug 200474 - Add direct conversion from StringBuilder to NSString to avoid extra allocation/copies when passing StringBuilder results to Cocoa APIs
Summary: Add direct conversion from StringBuilder to NSString to avoid extra allocatio...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-06 11:46 PDT by Sam Weinig
Modified: 2019-08-06 11:46 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2019-08-06 11:46:39 PDT
While working on https://bugs.webkit.org/show_bug.cgi?id=200471, it became clear we need a way to directly convert from StringBuilder to NSString to avoid extra allocation/copies when passing StringBuilder results to Cocoa APIs. In that case it was a Metal API, but others could benefit from this as well.