[Webkit-unassigned] [Bug 86281] 59% of Vector buffer capacity is unused

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 11 20:52:16 PDT 2012


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





--- Comment #3 from Andreas Kling <kling at webkit.org>  2012-05-11 20:51:20 PST ---
Antti and I have been discussing an alternate allocation scheme for some high-volume classes that contain vectors, specifically StylePropertySet and ElementAttributeData.

The idea is basically to make the objects "variable size" and replace the Vector<CSSProperty> and Vector<Attribute> (respectively) by a size and an array. If/when the array mutates (presumably a rare occurrence) we replace the buffer by a heap-allocated Vector and redirect to that.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list