StandardHash.fnv1aT

Calculates the FNV1a hash value from the raw data of x using an unrolled loop to improve efficiency.

Note that, if T is a reference type, the hash value will be calculated from the reference, not the referenced value.

struct StandardHash
static
hash_t
fnv1aT
(
T
)
(
T x
,
hash_t hash = fnv1a_init
)

Parameters

x T

input value

hash hash_t

optional input hash

Return Value

Type: hash_t

the FNV1a hash value calculated from the raw data of x.

Meta