mirror of
https://github.com/ziglang/zig.git
synced 2025-12-27 08:33:15 +00:00
std.hash: add xxhash to benchmark and fix its API
This commit is contained in:
parent
90a877f462
commit
c7d65fa368
@ -38,6 +38,16 @@ const hashes = [_]Hash{
|
||||
.name = "wyhash",
|
||||
.init_u64 = 0,
|
||||
},
|
||||
Hash{
|
||||
.ty = hash.XxHash64,
|
||||
.name = "xxhash64",
|
||||
.init_u64 = 0,
|
||||
},
|
||||
Hash{
|
||||
.ty = hash.XxHash32,
|
||||
.name = "xxhash32",
|
||||
.init_u64 = 0,
|
||||
},
|
||||
Hash{
|
||||
.ty = hash.Fnv1a_64,
|
||||
.name = "fnv1a",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user