Skip to content

Commit

Permalink
Reorder fields in SystemSchedule
Browse files Browse the repository at this point in the history
  • Loading branch information
stepancheg committed Nov 27, 2023
1 parent 53919c3 commit e33d824
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions crates/bevy_ecs/src/schedule/executor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,16 @@ pub enum ExecutorKind {
/// [`FixedBitSet`] is used as a smaller, more efficient substitute of `HashSet<usize>`.
#[derive(Default)]
pub struct SystemSchedule {
// Maps by system id (except `system_ids` field).
pub(super) system_ids: Vec<NodeId>,
pub(super) systems: Vec<BoxedSystem>,
pub(super) system_conditions: Vec<Vec<BoxedCondition>>,
pub(super) set_conditions: Vec<Vec<BoxedCondition>>,
pub(super) system_ids: Vec<NodeId>,
pub(super) set_ids: Vec<NodeId>,
pub(super) system_dependencies: Vec<usize>,
pub(super) system_dependents: Vec<Vec<usize>>,
pub(super) sets_with_conditions_of_systems: Vec<FixedBitSet>,
// Maps by set id (except `set_ids` field).
pub(super) set_ids: Vec<NodeId>,
pub(super) set_conditions: Vec<Vec<BoxedCondition>>,
pub(super) systems_in_sets_with_conditions: Vec<FixedBitSet>,
}

Expand Down

0 comments on commit e33d824

Please sign in to comment.