Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 78e187d15c8a6c4bf4f8272a49adc158aab1d1dc
      
https://github.com/WebKit/WebKit/commit/78e187d15c8a6c4bf4f8272a49adc158aab1d1dc
  Author: Dan Glastonbury <[email protected]>
  Date:   2026-05-13 (Wed, 13 May 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/Region.cpp

  Log Message:
  -----------
  [MotionMark] Pre-allocate Region shape vectors in union operation
https://bugs.webkit.org/show_bug.cgi?id=314704
rdar://176948119

Reviewed by Simon Fraser.

Region::Shape::shapeOperation() builds result vectors incrementally, causing
repeated reallocation as segments and spans are appended.  Reserve capacity
based on input sizes to avoid growth during the merge.

* Source/WebCore/platform/graphics/Region.cpp:
(WebCore::Region::Shape::shapeOperation):

Canonical link: https://commits.webkit.org/313205@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to