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
yeah, also i presume some members of the bevy community are going to see the upstream issue and can hopefully help out to fix it upstream (in the rust repo.)
Describe the problem related to your feature request.
Query::for_each
is known to be significantly faster thanQuery::iter
due to rustc failing to optimize properly.What solution would you like?
Replace all uses of
.iter()/.iter_mut()/&/&mut
with.for_each/.for_each_mut
where feasible.What alternative(s) have you considered?
Don't do this since it could be considered a temporary rustc failure that will be fixed in the future. (But when will it be fixed?)
Additional context
Not sure if there's an open bevy issue for this.
The text was updated successfully, but these errors were encountered: