3 ms·
The pointer probably precedes interesting variables in the same data segment, which therefore shift to a different address that is cached differently.
by HelloNurse 6y ago
The pointer probably precedes interesting variables in the same data segment, which therefore shift to a different address that is cached differently.
- tom_mellior 6y agoSure, but that's not a compiler optimization issue. The compiler will emit the same instructions, they will just execute at a different speed if the data is elsewhere.