Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A for loop also is an implicit branch, by the way. At least it will be compiled to something with a conditional jump.

So being unsure about how many times you want to do a thing is a no-go too.



Not if it's a known constant trip count, then you can fully unroll it. No more branches!

If the trip count isn't known at compile time? You should find out.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: