News for hackers. Stuff that matters.
Re:Is anybody still using Windows 95? by arghwhat on Friday September 11, 2020 @09:23AM (#24442483)
> False. Loop unrolling is always faster.

Blatantly false, which is why heuristics decide when to unroll.

Large code trashes instruction caches, and cache misses are very expensive. More code, more misses.

For very small loops, the unroll can pay off, but these are often too small to have significant size detriment.

There are no comments on this comment yet.