Open
Description
In cases where cache_hash=True
, we can short-circuit equality checks by first comparing hash codes. This can provide a very big speedup for "heavyweight" objects where field equality comparisons can be expensive (which is likely to be the case if the user bothered to enable hash caching).