2 ms·
It is not, unless your compiler is smart enough to recognize reverse iteration and prefetch appropriately. If performance matters, you should experiment with _
by ehvatum 4y ago
It is not, unless your compiler is smart enough to recognize reverse iteration and prefetch appropriately.
If performance matters, you should experiment with __builtin_prefetch, which is available in clang and GCC.