Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8d5de0127f134360c3326ee52ceb6b6aa30d887d
https://github.com/WebKit/WebKit/commit/8d5de0127f134360c3326ee52ceb6b6aa30d887d
Author: Dan Glastonbury <[email protected]>
Date: 2026-08-24 (Mon, 24 Aug 2026)
Changed paths:
M Source/WebCore/svg/SVGTransformList.cpp
Log Message:
-----------
Avoid a redundant matrix multiply in SVGTransformList::concatenate()
https://bugs.webkit.org/show_bug.cgi?id=322258
rdar://185490497
Reviewed by Mike Wyrzykowski.
concatenate() started from an identity AffineTransform and multiplied every item
into it, so the first iteration always performed a full 2x3 multiply against
identity. Seed the accumulator from the first item instead and multiply in the
remaining ones, which removes one AffineTransform::multiply() per call
regardless
of list length.
* Source/WebCore/svg/SVGTransformList.cpp:
(WebCore::SVGTransformList::concatenate const):
Canonical link: https://commits.webkit.org/319687@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications