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.
If performance matters, you should experiment with __builtin_prefetch, which is available in clang and GCC.
No comments yet.