It seems that in many cases range for loops are less efficient than traditional for loops using an iterator.
Search for & investigate cases where this conversion can be made.
Start with Performing data checks...
- Idea: Will converting
for (foo bar : baz) to for (foo &bar : baz) yield similar improvements? - If so: Could it also improve some loops currently implemented with iterators?
It seems that in many cases range for loops are less efficient than traditional for loops using an iterator.
Search for & investigate cases where this conversion can be made.
Start with
Performing data checks...for (foo bar : baz)tofor (foo &bar : baz)yield similar improvements?