Bug 79740 - Make NodeRareData and ElementRareData pluggable
Summary: Make NodeRareData and ElementRareData pluggable
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 106586
  Show dependency treegraph
Reported: 2012-02-27 20:34 PST by Hajime Morrita
Modified: 2019-08-14 16:59 PDT (History)
6 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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.