Bug 79740
| Summary: | Make NodeRareData and ElementRareData pluggable | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Hajime Morrita <morrita> |
| Component: | DOM | Assignee: | 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 | ||
Hajime Morrita
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Also see the bug 106586.
Ryosuke Niwa
This is backwards. Making NodeRareData allows us to delete NodeRareData early, not the other way around.