We should use pointer equality to shortcut `==` comparisons on keys, as it's much cheaper in the case of a match.