Hacker News new | ask | show | jobs
by Someone 5201 days ago
Sometimes, you can also get rid of branches by using arithmetic. For example, see http://stackoverflow.com/questions/1610836/branchless-code-t... or google "Branchless coding".