You are right, but in this case we specifically wanted to test iterator implementation vs a simple loop (to minimize memory access).