mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
a42343d847
The previous implementation of `Events::extend` iterated through each event and manually `sent` it via `Events:;send`. However, this could be a minor performance hit since calling `Vec::push` in a loop is not optimal. This refactors the code to use `Vec::extend`. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |