Bug 252616 - Reserve HashMap capacity in InlineDisplayContentBuilder::computeIsFirstIsLastBoxForInlineContent()
Summary: Reserve HashMap capacity in InlineDisplayContentBuilder::computeIsFirstIsLast...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-20 14:41 PST by Chris Dumez
Modified: 2023-02-20 16:46 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.