Skip to content

Is it better to do Comp[eid] = undefined or delete Comp[eid] to remove component data #202

@lud

Description

@lud

Title basically.

I see the lib suggest heavily to store data in arrays, leading to a lot of empty array items for all eids that do not have a component. I guess there are optimizations around that, so I wonder if I should use delete SomeArray[eid] to remove data.

Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions