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 Nov 1, 2022
1 parent 3880ef5 commit 1c0b66d
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 @@ -342,7 +342,7 @@ impl<'w, 's, Q: WorldQuery, F: ReadOnlyWorldQuery, const K: usize>
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::IS_ARCHETYPAL && F::IS_ARCHETYPAL
//
// let `i` be the index of `c`, the last cursor in `self.cursors` that
Expand Down

0 comments on commit 1c0b66d

Please sign in to comment.