[Webkit-unassigned] [Bug 75069] New: Make elements with attributes smaller by eliminating the m_element back pointer in NamedNodeMap
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 21 23:38:12 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=75069
Summary: Make elements with attributes smaller by eliminating
the m_element back pointer in NamedNodeMap
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: XML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: darin at apple.com
CC: rniwa at webkit.org, adamk at chromium.org
The back pointer from the heap-allocated vector of attributes to the element is a waste of space. We should move the data from the current NamedNodeMap class into a new heap-allocated class that is independent of the DOM.
The NamedNodeMap class should then just be a class with an Element* in it. The pointer to NamedNodeMap could go into ElementRareData or some other map, and all the operations could be done based on data stored in the element and its data structures. NamedNodeMap would no longer have any data of its own.
--
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