DescriptionChange the cast in base::Location::Hash to uintptr_t.
This allows the appropriate HashPair function to be called depending on whether this is a 32 or 64-bit system.
On a 32-bit platform, using HashInts64 on 32-bit values doesn't buy us any
additional entropy (*hand-wavey*) compared to using HashInts32. It is more
expensive, generating an extra 4 64-bit multiplies, each results in a function
call (to _allmul) on Windows-32.
Committed: https://crrev.com/37d5552647f58f20069c485cf4203fe05839921b
Cr-Commit-Position: refs/heads/master@{#362819}
Patch Set 1 #
Total comments: 1
Depends on Patchset: Messages
Total messages: 13 (5 generated)
|