The only thing detrimental to performance that I c...
# getting-started
o
The only thing detrimental to performance that I can see here would be if the List does not support random access - e.g it's a LinkedList. But that would be true for the for-loop approach as well