ecs_bench_suite icon indicating copy to clipboard operation
ecs_bench_suite copied to clipboard

Use sparse set components for fragmented_iter for Bevy

Open alice-i-cecile opened this issue 4 years ago • 1 comments

As discussed in the 0.5 news release, sparse set component storage was designed to make fragmented iteration faster, precisely the use case being tested in the fragmented_iter benchmark.

alice-i-cecile avatar Jul 06 '21 19:07 alice-i-cecile

Yup other ECS-es currently use "fast path" apis, such as SoA insertion and for_each iterators (despite other apis being "more idiomatic" or "recommended"). I think it is fair play at this point to do the same for Bevy.

However this is my current take on ecs_bench_suite policy/labeling in general: https://github.com/rust-gamedev/ecs_bench_suite/pull/18#issuecomment-811553276

The current approach biases toward the wrong behaviors and makes it harder for developers to make an informed decision when picking an ECS.

cart avatar Jul 06 '21 19:07 cart