3 ms·
Hashing is another big use case. For example, XOR is the most convenient combining function for Zobrist hashes in chess programs. OR/AND would be bad choices:
by FartyMcFarter 6y ago
Hashing is another big use case.
For example, XOR is the most convenient combining function for Zobrist hashes in chess programs. OR/AND would be bad choices: given random input, their output is biased to the values 1 and 0 (respectively).