Bug 305302

Summary: Avoid heap-allocating PseudoStyleCache since it is a HashMap
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2026-01-11 18:09:25 PST
Avoid heap-allocating PseudoStyleCache since it is a HashMap and a HashMap is already essentially a pointer. This avoid unnecessary heap allocation and extra pointer dereference.
Attachments
Chris Dumez
Comment 1 2026-01-11 18:17:41 PST
EWS
Comment 2 2026-01-12 18:11:50 PST
Committed 305491@main (5809a27bdb93): <https://commits.webkit.org/305491@main> Reviewed commits have been landed. Closing PR #56431 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-01-12 18:12:14 PST
Note You need to log in before you can comment on or make changes to this bug.