carb::assets::AssetHash¶
Defined in carb/assets/AssetsTypes.h
-
using
carb::assets
::
AssetHash
= extras::hash128_t¶ The hash must be a strong (not necessarily cryptographically secure) 128-bit hash.
128-bit hashes are chosen because the if the hash is well distributed, then the probability of a collision even given a large set size is low. See: https://en.wikipedia.org/wiki/Birthday_problem#Probability_table
For this reason when using hashing we do not do a deep compare on the objects.