[webkit-changes] [WebKit/WebKit] eeae2b: Reserve HashMap capacity in InlineDisplayContentBu...
Chris Dumez
noreply at github.com
Mon Feb 20 16:46:36 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: eeae2b39ab0ce9e26af736ed975105125361af82
https://github.com/WebKit/WebKit/commit/eeae2b39ab0ce9e26af736ed975105125361af82
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-02-20 (Mon, 20 Feb 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp
Log Message:
-----------
Reserve HashMap capacity in InlineDisplayContentBuilder::computeIsFirstIsLastBoxForInlineContent()
https://bugs.webkit.org/show_bug.cgi?id=252616
rdar://105697311
Reviewed by Alan Baradlay.
Reserve HashMap capacity in InlineDisplayContentBuilder::computeIsFirstIsLastBoxForInlineContent()
since we know approximately how many items we'll add.
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::computeIsFirstIsLastBoxForInlineContent):
Canonical link: https://commits.webkit.org/260579@main
More information about the webkit-changes
mailing list