Hacker News new | ask | show | jobs
by codedokode 54 days ago
I didn't try, but loop contains a branch so there could be misprediction, which doesn't happen with unrolled loop. Also, instruction level parallelism applies to unrolled code as well.