Skip to content

Commit

Permalink
Fix comment note
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Cecile <[email protected]>
  • Loading branch information
nicopap and alice-i-cecile committed Jul 22, 2022
1 parent 0ebf827 commit 46400ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/query/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ impl<'w, 's, Q: WorldQuery, F: WorldQuery, const K: usize> QueryCombinationIter<
return None;
}

// TODO: can speed up the following code using `cursor.remaining()` instead of `next_item.is_none()`
// PERF: can speed up the following code using `cursor.remaining()` instead of `next_item.is_none()`
// when Q::Fetch::IS_ARCHETYPAL && F::Fetch::IS_ARCHETYPAL
//
// let `i` be the index of `c`, the last cursor in `self.cursors` that
Expand Down

0 comments on commit 46400ba

Please sign in to comment.