bevy/crates/bevy_ecs/src/query
James Liu f2b545049c Implement FusedIterator for eligible Iterator types (#4942)
# Objective
Most of our `Iterator` impls satisfy the requirements of `std::iter::FusedIterator`, which has internal specialization that optimizes `Interator::fuse`. The std lib iterator combinators do have a few that rely on `fuse`, so this could optimize those use cases. I don't think we're using any of them in the engine itself, but beyond a light increase in compile time, it doesn't hurt to implement the trait.

## Solution
Implement the trait for all eligible iterators in first party crates. Also add a missing `ExactSizeIterator` on an iterator that could use it.
2022-06-09 03:19:31 +00:00
..
access.rs Clippy improvements (#4665) 2022-05-31 01:38:07 +00:00
fetch.rs merge matches_archetype and matches_table (#4807) 2022-05-30 16:41:32 +00:00
filter.rs Clippy improvements (#4665) 2022-05-31 01:38:07 +00:00
iter.rs Implement FusedIterator for eligible Iterator types (#4942) 2022-06-09 03:19:31 +00:00
mod.rs Add methods for querying lists of entities. (#4879) 2022-06-06 16:09:16 +00:00
state.rs Add global init and get accessors for all newtyped TaskPools (#2250) 2022-06-09 02:43:24 +00:00