Bug 259326

Summary: WebCore::Path should have inline segment storage
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: Layout and RenderingAssignee: 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)
Reported 2023-07-18 17:17:31 PDT
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
Cameron McCormack (:heycam)
Comment 1 2023-07-18 17:17:45 PDT
Cameron McCormack (:heycam)
Comment 2 2023-07-18 17:20:51 PDT
EWS
Comment 3 2023-07-19 02:45:54 PDT
Committed 266156@main (816baea44df6): <https://commits.webkit.org/266156@main> Reviewed commits have been landed. Closing PR #15917 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.