Skip to content

Commit a0d1682

Browse files
committed
std.hash.RapidHash: remove
Its design keeps evolving. See https://github.com/Nicoshev/rapidhash/releases It's great to see the design improving, but over time, this will lead to code rot; versions that aren't widely used but would still have to live in the standard library forever and be maintained. Better to be maintained as an external dependency that applications can opt into. Then, in a few years, if a version proves to be stable and widely adopted, it could be considered for inclusion in the standard library.
1 parent 4e6a049 commit a0d1682

File tree

3 files changed

+0
-133
lines changed

3 files changed

+0
-133
lines changed

lib/std/hash.zig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ pub const CityHash64 = cityhash.CityHash64;
3232
const wyhash = @import("hash/wyhash.zig");
3333
pub const Wyhash = wyhash.Wyhash;
3434

35-
pub const RapidHash = @import("hash/RapidHash.zig");
36-
3735
const xxhash = @import("hash/xxhash.zig");
3836
pub const XxHash3 = xxhash.XxHash3;
3937
pub const XxHash64 = xxhash.XxHash64;

lib/std/hash/RapidHash.zig

Lines changed: 0 additions & 125 deletions
This file was deleted.

lib/std/hash/benchmark.zig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ const hashes = [_]Hash{
5959
.ty = hash.crc.Crc32,
6060
.name = "crc32",
6161
},
62-
Hash{
63-
.ty = hash.RapidHash,
64-
.name = "rapidhash",
65-
.has_iterative_api = false,
66-
.init_u64 = 0,
67-
},
6862
Hash{
6963
.ty = hash.CityHash32,
7064
.name = "cityhash-32",

0 commit comments

Comments
 (0)