Bug 259326 - WebCore::Path should have inline segment storage
Summary: WebCore::Path should have inline segment storage
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Cameron McCormack (:heycam)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-18 17:17 PDT by Cameron McCormack (:heycam)
Modified: 2023-07-19 02:45 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.