Also:
- Expands `tests/core/hash`
- Fixes bug found in `#hash(s, "murmur64")`
This commit is contained in:
Jeroen van Rijn
2025-07-25 12:00:24 +02:00
parent 315cd51f76
commit 3a7e4873cd
4 changed files with 348 additions and 118 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ jenkins :: proc "contextless" (data: []byte, seed := u32(0)) -> u32 {
}
@(optimization_mode="favor_size")
murmur32 :: proc "contextless" (data: []byte, seed := u32(0)) -> u32 {
murmur32 :: proc "contextless" (data: []byte, seed := u32(0x9747b28c)) -> u32 {
c1_32: u32 : 0xcc9e2d51
c2_32: u32 : 0x1b873593