   What's faster?
  What is faster between these two?for(int i = 0; i < 3; i++){blah = i;}orblah[0] = 0;blah[1] = 1;blah[2] = 2;
  On any semi-decent compiler, they'd be exactly the same, since the optimizer would unroll the loop.  However this is just a contrived example that doesn't reflect any sort of real-world code.   ;  To add to Zipster's point, this question revolves around a micro optimization. It's the sort of discussion that's highly discouraged because it really is pointless. Once you have a correct application, and you have profiling data that indicates such loops as hotspots, and you've got the most sensible algorithms in place, it's only then that you look at these details.And the details always involve real world context that you do not have here.   