Bug 291777
| Summary: | Small optimization of StringBuilder::toString() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | Web Template Framework | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
Small optimization of StringBuilder::toString():
- Update StringBuilder::toString() to return a const reference to avoid ref-counting churn
- Add a StringBuilder::toNSString() to avoid people using `toString().createNSString()`
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/44278
Radar WebKit Bug Importer
<rdar://problem/150066324>
EWS
Committed 294279@main (69caf04f9d07): <https://commits.webkit.org/294279@main>
Reviewed commits have been landed. Closing PR #44278 and removing active labels.