> Setting i and len before the loop makes a humongous difference

I see from the diff you add the `i` to the loop instead, is that correct?