4 ms·
What are you saying here? That it does not classify as a hash function (determinism, uniformity, various forms of collision resistance, one-wayness) or that it
by kqr 9y ago
What are you saying here? That it does not classify as a hash function (determinism, uniformity, various forms of collision resistance, one-wayness) or that it is not a hash of the contents?
- ninkendo 9y agoI’ve conceded elsewhere that “hashing” is an acceptable enough term for what’s happening here, but, for nomenclature I’m more familiar with, v8’s randomly-assigned “hash codes” are something I would be more comfortable calling “identifiers”, since they’re assigned values that exist as state on the underlying objects. When I think of a hash value, I think of something that’s calculated via some properties of an object, not just a stored number.