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   

Description Cameron McCormack (:heycam) 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.
Comment 1 Cameron McCormack (:heycam) 2023-07-18 17:17:45 PDT
rdar://112501668
Comment 2 Cameron McCormack (:heycam) 2023-07-18 17:20:51 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15917
Comment 3 EWS 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.