[Webkit-unassigned] [Bug 251413] New: move SVG conditional processing attributes to SVGElementRareData

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 30 19:51:40 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=251413

            Bug ID: 251413
           Summary: move SVG conditional processing attributes to
                    SVGElementRareData
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com
                CC: sabouhallawa at apple.com, zimmermann at kde.org

The SVG conditional processing attributes (requiredFeatures, requiredExtensions, and systemLanguage) are rarely used.  Currently nearly every SVG element creates SVGStringList objects for these three attributes in WebCore::SVGTests, at a cost of 48 bytes each SVGStringList plus the three pointers.  We can move these to SVGElementRareData to save 72 bytes per SVG element in this common case, which for SVG documents with a large number of graphical elements can add up.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230131/0907548e/attachment.htm>


More information about the webkit-unassigned mailing list