I've searched for this and was surprised not to find this. My question regards specifically to FORTRAN (95), but I assume it is not different for other languages:
If I want to access an array in reverse order (last value/index, going backwards to the first value/index), would that be slower (in any meaningful way) than going forward (first value/index to last value/index)? I could, of course, just test it out - but I'm interested knowing the reason and not just the yes/no part.
Just to point out, the question refers a 1D array, so this has nothing to do with indexing order (i,j,k vs k,j,i) or anything of that nature.
Thanks!