Loop Interchange in C
In C, the situation is exactly the opposite to Fortran:
- The performance benefits in C are the same as in Fortran
- In most practical situations, loop interchange (supported by the compiler) is much easier to achieve than index reversal.