bevy/crates/bevy_ecs
Nathan Ward a42343d847 Optimize Events::extend and impl std::iter::Extend (#2207)
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`.
2021-05-19 18:41:46 +00:00
..
macros Hide Derived SystemParam State Struct From Docs (#1984) 2021-04-22 23:09:59 +00:00
src Optimize Events::extend and impl std::iter::Extend (#2207) 2021-05-19 18:41:46 +00:00
Cargo.toml Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00