Hashes can sometimes be cached, if there is enough place in the data construction where The crucial element is saved; caching the results of comparisons (a binary operation) is often impractical. Conversely, comparisons can reward from shortcutting: if keys typically vary within the primary couple of bytes, a unfavorable comparison can be quite fas