Skip to content

Events should use .extend internally #2146

Closed
@alice-i-cecile

Description

@alice-i-cecile

Should improve perf due to better memory allocation vs repeatedly pushing.

See #2145 (comment) by @NathanSWard for more details.

If you want to tackle this, either wait until #2145 is merged or work off that branch, as it changes the code organization of that file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-PerformanceA change motivated by improving speed, memory usage or compile timesD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions