Bug 75070

Summary: Make elements with attributes smaller by eliminating some malloc block overhead
Product: WebKit Reporter: Darin Adler <darin>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: adamk, cdumez, cmarcelo, kling, koivisto, rniwa, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Darin Adler
Reported 2011-12-21 23:39:58 PST
After refactoring so that NamedNodeMap is replaced by a “data holder” type of class, we may want to fold the attributes into element itself if the additional cost for elements with no attributes is worth the savings for elements with attributes.
Attachments
Ryosuke Niwa
Comment 1 2012-07-23 00:12:55 PDT
It seems like we need to do some research as to which behavior is the overall win? Maybe anttik or cmarcelo have already done some research like this when they factored the attribute code?
Lucas Forschler
Comment 2 2019-02-06 09:03:49 PST
Mass moving XML DOM bugs to the "DOM" Component.
Note You need to log in before you can comment on or make changes to this bug.