Change hash function for klib bench and use the right hash function for 64 bits.
This commit is contained in:
1 parent
d5e235ed8e
commit
c6482ff062
1 file changed
+1
-1
+1
-1
@@ -129,7 +129,7 @@ static void test_rbtree(size_t n)
|
||||
/********************************************************************************************/
|
||||
|
||||
#define hash_eq(a, b) ((a) == (b))
|
||||
#define hash_func(a) kh_int_hash_func2(a)
|
||||
#define hash_func(a) kh_int64_hash_func(a)
|
||||
|
||||
KHASH_INIT(iun, unsigned long, unsigned long, 1, hash_func, hash_eq)
|
||||
|
||||
|
||||
Reference in new issue
Block a user