bevy/crates/bevy_remote/src
Eagster 8ad7118443
Only get valid component ids (#19510)
# Objective

- #19504 showed a 11x regression in getting component values for
unregistered components. This pr should fix that and improve others a
little too.
- This is some cleanup work from #18173 .

## Solution

- Whenever we expect a component value to exist, we only care about
fully registered components, not queued to be registered components
since, for the value to exist, it must be registered.
- So we can use the faster `get_valid_*` instead of `get_*` in a lot of
places.
- Also found a bug where `valid_*` did not forward to `get_valid_*`
properly. That's fixed.

## Testing

CI
2025-06-06 20:59:57 +00:00
..
schemas Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
builtin_methods.rs Only get valid component ids (#19510) 2025-06-06 20:59:57 +00:00
http.rs Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
lib.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00