Skip to content

Events should use .extend internally #2146

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.

Activity

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-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