Hacker News new | ask | show | jobs
by rao-v 260 days ago
I’m amused to see a for loop in a function that is purportedly branchless

(not a critique)

1 comments

Loops are very predictable in general so the branch isn't a problem. Of course this assumes your branch codition is standard - you can do weird things in the end condition that would food the cpu.