Re:There are no good constant-time data structures
by pbsd on Tuesday December 02, 2014 @07:40PM
(#8691143)
I'm not sure I understand what you're suggesting. x ^ y will obviously never be 0 when x != y, but there is no quick way to locate where they differ to turn it into a mask. When x != y, either x - y or y - x will be negative and therefore have the MSB set.
[ Parent
| on HN ]
There are no comments on this comment yet.