Say, I have a
std::vector v;
in my code and I need to access its elements very often in the program, looping them forwa
If speed matters, then you should have time and will to run a profiler on it and see which works best in your case.
If it doesn't matter, then you are performing premature optimization and should STOP doing it.