Linear pattern
A memory access follows a linear pattern when it accesses consecutive memory locations in a sequential order:
for (int i = 0; i < N; ++i) {
A[i] = ...
}
A memory access follows a linear pattern when it accesses consecutive memory locations in a sequential order:
for (int i = 0; i < N; ++i) {
A[i] = ...
}