![]() # 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 |
||
---|---|---|
.. | ||
components.rs | ||
dynamic_scene_builder.rs | ||
dynamic_scene.rs | ||
lib.rs | ||
reflect_utils.rs | ||
scene_filter.rs | ||
scene_loader.rs | ||
scene_spawner.rs | ||
scene.rs | ||
serde.rs |