Bug 252612

Summary: shrink CSSSelector
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: CSSAssignee: Cameron McCormack (:heycam) <heycam>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Cameron McCormack (:heycam)
Reported 2023-02-20 14:24:21 PST
On 64 bit, CSSSelector is currently 16 bytes. By moving some of its data to the rare data object, we can pack the remaining bits with the data union to shrink it to 8 bytes. CSSSelector is a frequently allocated object, so this should have noticeable memory savings.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-02-20 14:24:38 PST
Cameron McCormack (:heycam)
Comment 2 2023-02-20 14:26:47 PST
Note You need to log in before you can comment on or make changes to this bug.