- If K is a primitive type (integer, floating point, character), the
hash value is calculated from the raw key data using the FNV1a hash
function.
- If K is a dynamic or static array of a primitive type, the hash value
is calculated from the raw data of the key array content using the
FNV1a hash function.
- If K is a class, interface, struct or union, it is expected to
implement toHash(), which will be used.
- Other key types (arrays of non-primitive types, classes/interfaces/
structs/unions which do not implement toHash(), pointers, function
references, delegates, associative arrays) are not supported.
Calculates the hash value from key.
- If K is a primitive type (integer, floating point, character), the hash value is calculated from the raw key data using the FNV1a hash function. - If K is a dynamic or static array of a primitive type, the hash value is calculated from the raw data of the key array content using the FNV1a hash function. - If K is a class, interface, struct or union, it is expected to implement toHash(), which will be used. - Other key types (arrays of non-primitive types, classes/interfaces/ structs/unions which do not implement toHash(), pointers, function references, delegates, associative arrays) are not supported.