Hashes can sometimes be cached, if there is plenty of area in the info composition where The important thing is stored; caching the results of comparisons (a binary operation) is frequently impractical. On the flip side, comparisons can advantage from shortcutting: if keys typically differ within the first couple of bytes, a detrimental comparison