MurMur3Hasher
This is a hasher that implements the MurMur3 algorithm. It produces a 128 bit usigned integer and is the default hasher used throughout the standard library for types like Set and Dict.
graph BT
N1["MurMur3Hasher"] -->|inherits| N2["IHasher[UInt128]"];
N2["IHasher[UInt128]"] -->|inherits| N3["Any"];
Characteristics
Quality | Value |
---|---|
Inherits | IHasher[UInt128] |
Extends | N/A |
Decorators | N/A |
Is enum | false |
Is sealed | false |
Is extern | false |
Is abstract | false |
Is generator | false |
Has value semantics | true |
Has stored properties | true |
Should register destructor | false |
Has atomic memory | true |
Is copy assignable | true |
Is zero initializable | true |
Type Aliases
HashValueType
HashValueType = UInt128
Call Operator
#strict
#Gambol.function.nounwind
(s @Self, ptr Pointer, len Len) -> Nil
Methods
construct
#default
#Gambol.function.alwaysinline
construct (s @Self) -> Self
get
#strict
#Gambol.function.nounwind
get (s @Self) -> HashValueType
Binary Operators
=
#default
= (s @Self, o @Self) -> Self
Properties
h1
h1 UInt64
h2
h2 UInt64
len
len ULen