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
Use iterators, like for (auto i : ...), instead of classic integer iterators and indexed access. First do research if array indexing is more costly than iterators.
Implement the operators also for comparison with double. This prevents casting double to Fauna::ForageValues, which I suspect is rather costly.
The text was updated successfully, but these errors were encountered:
for (auto i : ...)
, instead of classic integer iterators and indexed access. First do research if array indexing is more costly than iterators.double
. This prevents castingdouble
toFauna::ForageValues
, which I suspect is rather costly.The text was updated successfully, but these errors were encountered: