Skip to content

Consider not allocating in the empty archetype on world.spawn() #1556

Description

@alice-i-cecile
  • ex: return something like EntityMutUninit, which turns into EntityMut after an insert or insert_bundle op
  • this actually regressed performance last time i tried it, but in theory it should be faster

From Future Work of #1525.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-PerformanceA change motivated by improving speed, memory usage or compile timesS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions