@thatbrickster
I'm not sure about that. I believe, that you can change the iterated variable from inside the for loop.
@thatbrickster
I see you hate your computer's memory...
@thatbrickster @LukeAlmighty Compilers often do tail calls to "unwrap" it into whats basically a for loop anyway if your function doesnt require any added stack space, and if it does, good luck
@LukeAlmighty @thatbrickster Compilers can unroll for loops with compile time values
One thing thats actually cooler though is that for loops can be parallalised with almost 0 effort while while loops can't, and these work on non-constants
#pragma omp parallel for
Before any for loop and it gets spread over as many threads as your cpu has