News for hackers. Stuff that matters.
Re:Optimization by accepting side effects by baddox on Monday October 28, 2013 @06:29PM (#6630289)
You can at least try to hide ugly optimizations in subroutines while keeping the subroutines' "contracts" clear.
Re:Optimization by accepting side effects by mistercow on Monday October 28, 2013 @06:51PM (#6630389)
It's actually kind of a nice thing about optimizations that are non-portable, because the fallback implementation can act as an explanation of what the code does. Clearly commenting optimized code is a difficult art.