diff options
| author | Sahnvour <sahnvour@pm.me> | 2019-08-24 12:52:00 +0200 |
|---|---|---|
| committer | Sahnvour <sahnvour@pm.me> | 2019-08-24 15:37:47 +0200 |
| commit | 90e921f7a7356cda56e98367687889eb34ce0384 (patch) | |
| tree | 3d3d9977d38a52f8c669a954c0f2fae811f4599a /std/hash/benchmark.zig | |
| parent | 4c882e731f26aa595a2b6c17725f01bbc1974e37 (diff) | |
| download | zig-90e921f7a7356cda56e98367687889eb34ce0384.tar.gz zig-90e921f7a7356cda56e98367687889eb34ce0384.zip | |
wyhash: readd the stateful streaming version so that both are available
and rename the stateless one so that's it is not the default option
Diffstat (limited to 'std/hash/benchmark.zig')
| -rw-r--r-- | std/hash/benchmark.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/std/hash/benchmark.zig b/std/hash/benchmark.zig index 70d0cf563b..314f2572cd 100644 --- a/std/hash/benchmark.zig +++ b/std/hash/benchmark.zig @@ -29,6 +29,11 @@ const hashes = [_]Hash{ .init_u64 = 0, }, Hash{ + .ty = hash.WyhashStateless, + .name = "wyhash-stateless", + .init_u64 = 0, + }, + Hash{ .ty = hash.SipHash64(1, 3), .name = "siphash(1,3)", .init_u8s = siphash_key, |
