Bug 259326
| Summary: | WebCore::Path should have inline segment storage | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> |
| Component: | Layout and Rendering | Assignee: | Cameron McCormack (:heycam) <heycam> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Cameron McCormack (:heycam)
After https://commits.webkit.org/265569@main, we have three separate heap allocations when creating a WebCore::Path with a single segment. (The PathStream, the SegmentsData, and its Vector buffer.) Before that commit, we had inline storage for a single segment.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Cameron McCormack (:heycam)
rdar://112501668
Cameron McCormack (:heycam)
Pull request: https://github.com/WebKit/WebKit/pull/15917
EWS
Committed 266156@main (816baea44df6): <https://commits.webkit.org/266156@main>
Reviewed commits have been landed. Closing PR #15917 and removing active labels.