You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Specify thread pool by default for the parallel iteration of queries #3183
Implicitly fetch the ComputeTaskPool resource with each query. This is cloned during system initialization.
Rename the existing method to par_for_each_manual and so on.
Add an ergonomic method for par_for_each (and eventually par_iter and friends) which uses this task pool.
What alternative(s) have you considered?
We could instead create a global / static thread pool that is always used. This may be necessary for performance or ergonomics reasons, but should not be necessary.
Additional context
We cannot deprecate the existing techniques, as other thread pools may be desired in niche situations.
Activity
Remove task_pool parameter from par_for_each(_mut) (#4705)
Remove task_pool parameter from par_for_each(_mut) (bevyengine#4705)
Remove task_pool parameter from par_for_each(_mut) (bevyengine#4705)