3 ms·
Wouldn't 99% of this stuff be cleared up by the compiler anyway?
by antipax 17y ago
Wouldn't 99% of this stuff be cleared up by the compiler anyway?
- malkia 17y agoIt would, or it might, but there are edge cases where it won't, and it's good to give the rights hints to the compiler (and then again every compiler is different). http://www.cellperformance.com/articles/2006/04/programming_with_branches_patt.html http://www.cellperformance.com/articles/2006/04/programming_... Though my favourite article from his site is this one: http://www.cellperformance.com/articles/2006/06/box_overlap.html http://www.cellperformance.com/articles/2006/06/box_overlap....