Bug 291589
| Summary: | WebKit serialization tends to use copying when it should be moving | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> |
| Component: | New Bugs | Assignee: | Brent Fulgham <bfulgham> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Brent Fulgham
ResourceRequestBase, RequestData, and ResourceResponse Data are serialized through IPC using move operations, but because these classes only offer copy-based constructors they are passing through the copy code path instead of moving the memory. In the case of strings, URLs, Vectors of Strings, Maps of Strings this is more costly than necessary.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/149327994>
Brent Fulgham
Pull request: https://github.com/WebKit/WebKit/pull/44121
EWS
Committed 293818@main (a83c1665d5a6): <https://commits.webkit.org/293818@main>
Reviewed commits have been landed. Closing PR #44121 and removing active labels.