Skip to content

Spawn<B> now does an unnecssary archetype move / split insert #20976

@cart

Description

@cart

As of #20772, we are now unnecessarily splitting the spawn((bundle, relationship)) into spawn(relationship).insert(bundle), resulting in an unnecessary archetype move and redundant bookkeeping. This needs to be fixed, as Spawn is a high-traffic api.

This points to missing tools in our toolkit!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-BugAn unexpected or incorrect behaviorC-PerformanceA change motivated by improving speed, memory usage or compile timesD-ComplexQuite challenging from either a design or technical perspective. Ask for help!P-RegressionFunctionality that used to work but no longer does. Add a test for this!S-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions