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

There's branching involved in the minmax operation, so it'll always be slower than (x|y) - ((x^y)>>1).


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

Search: