bevy/benches/benches/bevy_ecs
Chris Russell 571b3ba475
Remove ArchetypeComponentId and archetype_component_access (#19143)
# Objective

Remove `ArchetypeComponentId` and `archetype_component_access`.
Following #16885, they are no longer used by the engine, so we can stop
spending time calculating them or space storing them.

## Solution

Remove `ArchetypeComponentId` and everything that touches it.  

The `System::update_archetype_component_access` method no longer needs
to update `archetype_component_access`. We do still need to update query
caches, but we no longer need to do so *before* running the system. We'd
have to touch every caller anyway if we gave the method a better name,
so just remove `System::update_archetype_component_access` and
`SystemParam::new_archetype` entirely, and update the query cache in
`Query::get_param`.

The `Single` and `Populated` params also need their query caches updated
in `SystemParam::validate_param`, so change `validate_param` to take
`&mut Self::State` instead of `&Self::State`.
2025-05-27 19:04:32 +00:00
..
components Speed up ECS benchmarks by limiting variations (#18659) 2025-05-06 00:07:18 +00:00
events Speed up ECS benchmarks by limiting variations (#18659) 2025-05-06 00:07:18 +00:00
iteration Remove ArchetypeComponentId and archetype_component_access (#19143) 2025-05-27 19:04:32 +00:00
observers Handle TriggerTargets that are combinations for components/entities (#18024) 2025-02-24 23:57:34 +00:00
param Fix panic in benches caused by missing resources (#16956) 2024-12-24 17:18:03 +00:00
scheduling deprecate SimpleExecutor (#18753) 2025-05-06 00:21:57 +00:00
world Fix spawn tracking for spawn commands (#19351) 2025-05-26 20:15:21 +00:00
change_detection.rs Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
empty_archetypes.rs Speed up ECS benchmarks by limiting variations (#18659) 2025-05-06 00:07:18 +00:00
entity_cloning.rs Switch ChildOf back to tuple struct (#18672) 2025-04-02 00:10:10 +00:00
fragmentation.rs Make benchmark setup consistent (#16733) 2024-12-10 20:39:14 +00:00
main.rs Cleanup instances of #[allow(clippy::type_complexity)] (#17248) 2025-01-09 06:25:20 +00:00