From 3f787e38454606dbf063e65700f9c6a46e94f0c1 Mon Sep 17 00:00:00 2001 From: dzaima Date: Sun, 1 May 2022 04:32:16 +0300 Subject: [PATCH] the tag includes type info anyways --- src/utils/hash.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/utils/hash.c b/src/utils/hash.c index 6837a92d..0b45918b 100644 --- a/src/utils/hash.c +++ b/src/utils/hash.c @@ -37,10 +37,7 @@ NOINLINE u64 bqn_hashArr(B x, const u64 secret[4]) { // TODO manual separation o NOINLINE u64 bqn_hash(B x, const u64 secret[4]) { if (isArr(x)) return bqn_hashArr(x, secret); - if (q_f64(x)) return wyhash64(secret[0], x.u); - if (isC32(x)) return wyhash64(secret[1], x.u); - assert(isVal(x)); - return wyhash64(secret[2], x.u); + return wyhash64(secret[0], x.u); }