From 3a7e4873cdd392a8aa035afaac31ef0987bfbb38 Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Fri, 25 Jul 2025 12:00:24 +0200 Subject: Fix #5498 Also: - Expands `tests/core/hash` - Fixes bug found in `#hash(s, "murmur64")` --- core/hash/hash.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/hash/hash.odin b/core/hash/hash.odin index 45f524d8a..6c048c05b 100644 --- a/core/hash/hash.odin +++ b/core/hash/hash.odin @@ -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 -- cgit v1.2.3