chore: Replace murmur3 with maphash
This commit is contained in:
@ -11,3 +11,7 @@ func GlobalID(material string) (id [8]byte) {
|
||||
*(*uint64)(unsafe.Pointer(&id[0])) = maphash.String(globalSeed, material)
|
||||
return
|
||||
}
|
||||
|
||||
func MapHash(material string) uint64 {
|
||||
return maphash.String(globalSeed, material)
|
||||
}
|
||||
|
Reference in New Issue
Block a user