Bug 254441
| Summary: | JSRopeString::resolveRopeToAtomString() doesn't need to copy characters to a buffer when it is a substring | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | JavaScriptCore | 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 | ||
| Bug Depends on: | 254474 | ||
| Bug Blocks: | |||
Chris Dumez
JSRopeString::resolveRopeToAtomString() doesn't need to copy characters to a buffer when it is a substring, we can construct the AtomString straight from the StringView::substring() output.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/11946
EWS
Committed 262103@main (3bc3bb7a66f1): <https://commits.webkit.org/262103@main>
Reviewed commits have been landed. Closing PR #11946 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/107205966>