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