Bug 252616

Summary: Reserve HashMap capacity in InlineDisplayContentBuilder::computeIsFirstIsLastBoxForInlineContent()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Layout and RenderingAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2023-02-20 14:41:41 PST
Reserve HashMap capacity in InlineDisplayContentBuilder::computeIsFirstIsLastBoxForInlineContent() since we know approximately how many items we'll add.
Comment 1 Radar WebKit Bug Importer 2023-02-20 14:42:12 PST
<rdar://problem/105697311>
Comment 2 Chris Dumez 2023-02-20 14:45:14 PST
Pull request: https://github.com/WebKit/WebKit/pull/10400
Comment 3 EWS 2023-02-20 16:46:28 PST
Committed 260579@main (eeae2b39ab0c): <https://commits.webkit.org/260579@main>

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