Bug 251972 - StyleRareNonInheritedData is instantiated too frequently
Summary: StyleRareNonInheritedData is instantiated too frequently
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Cameron McCormack (:heycam)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-08 20:55 PST by Cameron McCormack (:heycam)
Modified: 2023-02-14 13:26 PST (History)
1 user (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-02-08 20:55:33 PST
StyleRareNonInheritedData is pretty big (672 bytes currently), and it is frequently instantiated due to containing some properties that aren't that rare.  We can save some memory by shuffling properties around to different objects.
Comment 1 Radar WebKit Bug Importer 2023-02-08 20:56:06 PST
<rdar://problem/105205500>
Comment 2 Cameron McCormack (:heycam) 2023-02-09 02:22:01 PST
Pull request: https://github.com/WebKit/WebKit/pull/9861
Comment 3 EWS 2023-02-14 13:26:49 PST
Committed 260272@main (e6817c199573): <https://commits.webkit.org/260272@main>

Reviewed commits have been landed. Closing PR #9861 and removing active labels.