You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Event State flags should live on Element, rather than Node #7934
A-content/scriptRelated to the script threadC-assignedThere is someone working on resolving the issueI-refactorNo impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.
We should fix this sooner rather than later, since using them on non-element nodes would be a bug, and storing them there adds unnecessary memory overhead to non-element nodes.
A-content/scriptRelated to the script threadC-assignedThere is someone working on resolving the issueI-refactorNo impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.
Activity
bholley commentedon Oct 9, 2015
CC @pcwalton @jdm
Move Event States to |Element|. v2
Ms2ger commentedon Oct 9, 2015
The memory overhead is somewhat overstated; we can increase
NodeFlagsto 32 bits without changing the size ofNode.jdm commentedon Oct 9, 2015
Ironically this change increases memory usage since all elements now contain an extra field.
Move Event States to |Element|. v3
bholley commentedon Oct 9, 2015
Making NodeFlags u8 seems to fix this.
Move Event States to |Element|.
Move Event States to |Element|.
Move Event States to |Element|.