Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteToFloat64 ¶
func ByteToString ¶
ByteToString converts byte slice to a string without memory allocation.
func Float64ToByte ¶
func MemHash ¶
MemHash is the hash function used by go map, it utilizes available hardware instructions(behaves as aeshash if aes instruction is available). NOTE: The hash seed changes for every process. So, this cannot be used as a persistent hash.
func StringToByte ¶
StringToByte converts string to a byte slice without memory allocation.
Types ¶
type Murmur128 ¶
type Murmur128 struct {
// contains filtered or unexported fields
}
func NewMurmur128 ¶
func NewMurmur128() *Murmur128
func (*Murmur128) EncodeSum128 ¶
Click to show internal directories.
Click to hide internal directories.