function hashString
hash.ts:32
hashString(text: string, seed: number) → number
MurmurHash3 x86_32 over a string's UTF-16 code units.
Code units rather than UTF-8 bytes: addresses are ASCII by construction, the two agree there, and skipping the encode keeps this allocation-free.
- textstring
- Undocumented
- seednumber
- Undocumented
Returnsnumber