News for hackers. Stuff that matters.
Re:Why do arrays start at 0? by kaba0 on Thursday August 25, 2022 @08:23AM (#32592744)
What do you mean it wastes a whole cycle? It may indeed have worse performance due to blowing the instruction cache, but I don’t see why would out-of-order execution be slower on the hot path - I doubt there would be too many hot paths without any dependence on memory fetches outside specific benchmarks - the memory loads will take significantly more time even if they hit cache.

There are no comments on this comment yet.