WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
251413
move SVG conditional processing attributes to SVGElementRareData
https://bugs.webkit.org/show_bug.cgi?id=251413
Summary
move SVG conditional processing attributes to SVGElementRareData
Cameron McCormack (:heycam)
Reported
2023-01-30 19:51:40 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-01-30 19:52:05 PST
<
rdar://problem/104849618
>
Cameron McCormack (:heycam)
Comment 2
2023-01-30 20:48:27 PST
Pull request:
https://github.com/WebKit/WebKit/pull/9366
EWS
Comment 3
2023-02-02 12:04:48 PST
Committed
259772@main
(a0e6d8e81896): <
https://commits.webkit.org/259772@main
> Reviewed commits have been landed. Closing PR #9366 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug