summaryrefslogtreecommitdiff
path: root/std/map.zc
diff options
context:
space:
mode:
Diffstat (limited to 'std/map.zc')
-rw-r--r--std/map.zc3
1 files changed, 2 insertions, 1 deletions
diff --git a/std/map.zc b/std/map.zc
index cd54f3d..a7bae69 100644
--- a/std/map.zc
+++ b/std/map.zc
@@ -3,8 +3,9 @@ import "./core.zc"
import "./option.zc"
raw {
+ extern size_t __zen_hash_seed;
size_t _map_hash_str(const char* str) {
- size_t hash = 14695981039346656037UL;
+ size_t hash = __zen_hash_seed;
while (*str) {
hash ^= (unsigned char)*str++;
hash *= 1099511628211UL;