06-21-2003, 10:03 AM
Ok, I'll take your word for it. the n=1-n may be faster than the
n=n xor 1, but it's not as elegant. Plus, since I learned this trick in assembler, you coudn't do the n=1-n in one instruction in most assemblers that i've seen.
But nevertheless, you win for now.
*****
n=n xor 1, but it's not as elegant. Plus, since I learned this trick in assembler, you coudn't do the n=1-n in one instruction in most assemblers that i've seen.
But nevertheless, you win for now.
*****