Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eeae2b39ab0ce9e26af736ed975105125361af82
      
https://github.com/WebKit/WebKit/commit/eeae2b39ab0ce9e26af736ed975105125361af82
  Author: Chris Dumez <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to