Bug 79740

Summary: Make NodeRareData and ElementRareData pluggable
Product: WebKit Reporter: Hajime Morrita <morrita>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: abarth, ap, darin, eric, koivisto, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 106586    

Description Hajime Morrita 2012-02-27 20:34:40 PST
These classes are start to be messy.
I'd like to slim down these class by adopting supplement-like pattern.
A fe performance-critical bits should be stayed there.
But others can be kicked out to their own optional/supplemental objects.

This could even save some memory footprint because we can allocate what we actually needs.
Ideally we could eliminate ElementRareData: It's just a set of supplements.
Comment 1 Ryosuke Niwa 2013-01-10 11:19:01 PST
Also see the bug 106586.
Comment 2 Ryosuke Niwa 2013-01-10 17:45:42 PST
This is backwards. Making NodeRareData allows us to delete NodeRareData early, not the other way around.