Remove for_each
and for_each_mut
APIs
#4059
Labels
A-ECS
Entities, components, systems, and events
C-Code-Quality
A section of code that is hard to understand or change
C-Performance
A change motivated by improving speed, memory usage or compile times
What problem does this solve or what need does it fill?
As discussed in #3765, these APIs no longer appear to be measurably faster than
query.iter()
mechanisms after #2254.Having two ways to do the same thing is not ideal, and this API is generally less flexible and considered harder to read.
What solution would you like?
Remove these APIs.
Additional context
Some ballpark benchmarks were done in #3765, but this change should be accompanied by higher quality testing.
The text was updated successfully, but these errors were encountered: