Loop interchange
id:
loop-interchange-243-14474576
title:
Loop interchange
text:
In compiler theory, loop interchange is the process of exchanging the order of two iteration variables used by a nested loop. The variable used in the inner loop switches to the outer loop, and vice versa. It is often done to ensure that the elements of a multi-dimensional array are accessed in the order in which they are present in memory, improving locality of reference. For example, in the code fragment: loop interchange would result in: On occasion, such a transformation may create opportuni
brand slug:
wiki
category slug:
encyclopedia
description:
original url:
https://en.wikipedia.org/wiki/Loop_interchange
date created:
date modified:
2023-11-14T14:03:28Z
main entity:
{"identifier":"Q6675836","url":"https://www.wikidata.org/entity/Q6675836"}
image:
fields total:
13
integrity:
13