News for hackers. Stuff that matters.
Re:Why do arrays start at 0? by ehvatum on Thursday August 25, 2022 @01:26AM (#32589849)
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.

There are no comments on this comment yet.