Skip to content

Event State flags should live on Element, rather than Node #7934

Closed

Description

@bholley

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.

I have patches.

Activity

  1. bholley commented on Oct 9, 2015

    @bholley
    ContributorAuthor
  2. added a commit that references this issue on Oct 9, 2015
    734eba8
  3. Ms2ger commented on Oct 9, 2015

    @Ms2ger
    Contributor

    The memory overhead is somewhat overstated; we can increase NodeFlags to 32 bits without changing the size of Node.

  4. jdm commented on Oct 9, 2015

    @jdm
    Member

    Ironically this change increases memory usage since all elements now contain an extra field.

  5. added a commit that references this issue on Oct 9, 2015
    fe8c888
  6. bholley commented on Oct 9, 2015

    @bholley
    ContributorAuthor

    Making NodeFlags u8 seems to fix this.

  7. added
    A-content/script
    C-assigned
    I-refactor
    on Oct 11, 2015
  8. added 3 commits that reference this issue on Oct 15, 2015
    7b40980
    bacec07
    75ec093
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/scriptC-assignedI-refactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions