The simplest explanation is that processors usually have a
zero bit in a flags register..branching on zero or none zero
is faster than comparing specific none zero values...
There are probably millions of reasons..but i cant be
bothered to think about it...anyway its handy, i like it.
zero bit in a flags register..branching on zero or none zero
is faster than comparing specific none zero values...
There are probably millions of reasons..but i cant be
bothered to think about it...anyway its handy, i like it.