Bug 267252

Summary: Introduce StyleFontData to store the FontCascade object
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=283140
Bug Depends on: 284001, 284139, 284351    
Bug Blocks:    

Simon Fraser (smfr)
Reported 2024-01-08 20:56:30 PST
FontCascade is big (322 bytes) and makes StyleInheritedData large; it's also relatively slow to copy and compare. We can make RenderStyle comparisons faster by moving the FontCascade object into a class we can use with DataRef, so introduce StyleFontData for this purpose.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-01-08 20:56:47 PST
Simon Fraser (smfr)
Comment 2 2024-01-08 21:04:40 PST
^232 not 322
Simon Fraser (smfr)
Comment 3 2024-01-08 21:14:21 PST
EWS
Comment 4 2024-12-10 19:26:22 PST
Committed 287648@main (035afb793279): <https://commits.webkit.org/287648@main> Reviewed commits have been landed. Closing PR #22531 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.