// Identical instruction sequence at every size; only the footprint changes.
// Array is 8388608 bytes; LLC on the reference machine is 12 MiB.
var n = 2097152, a = new Int32Array(n), s = 0, idx = 0;
for (var i = 0; i < 1000000; i++) { idx = (idx + 104729) & (n - 1); s += a[idx]; }
s;
