RESOLVED FIXED 43236
Optimize SVGResources memory usage
https://bugs.webkit.org/show_bug.cgi?id=43236
Summary Optimize SVGResources memory usage
Nikolas Zimmermann
Reported Friday, July 30, 2010 10:43:24 AM UTC
marker*/clip-path/filter/fill/stroke properties can not be applied to all elements. We should be able to reduce memory usage of the class, by grouping properties that can be applied to certain element categories like "shapes" / "text content elements" / "graphics elements" / "container elements", as the SVG specification describes. Clipper & Filter & Masker can be grouped, MarkerStart & MarkerMid & MarkerEnd as well as Fill & Stroke.
Attachments
Patch (30.42 KB, patch)
2010-07-30 02:48 PDT, Nikolas Zimmermann
no flags
Updated patch (30.44 KB, patch)
2010-07-30 02:53 PDT, Nikolas Zimmermann
krit: review+
Nikolas Zimmermann
Comment 1 Friday, July 30, 2010 10:48:29 AM UTC
Nikolas Zimmermann
Comment 2 Friday, July 30, 2010 10:53:25 AM UTC
Created attachment 63041 [details] Updated patch Add missing ENABLE(FILTERS) guards.
Dirk Schulze
Comment 3 Friday, July 30, 2010 12:00:52 PM UTC
Comment on attachment 63041 [details] Updated patch Talked about some changes on tag to clipper mapping. We don't follow the spec for defs,switch,pattern. r=me
Nikolas Zimmermann
Comment 4 Friday, July 30, 2010 12:03:05 PM UTC
Thanks, landed in r64345.
Note You need to log in before you can comment on or make changes to this bug.