![]() # Objective Speed up CPU-side rendering. ## Solution Use `QueryIter::for_each` and `Mut::bypass_change_detection` to minimize the total amount of data being written and allow autovectorization to speed up iteration. ## Performance Tested against the default `many_cubes`, this results in greater than 15x speed up: 281us -> 18.4us.  As `ViewVisibility::HIDDEN` just wraps false, this is likely just degenerating into `memset(0)`s on the tables. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |