in reply to which loop is better

for is always faster. It's four characters shorter.