That happens to be as soon as the while loop is done, which is what I think @riking is pointing out. That doesn't change the fact that the preference is to make use of iterators in a for loop, not a while loop, which invalidates this whole discussion regarding the relative merits of JIT compilers. Unless we are just having an academic debate...