From 5b16c541b01daa8fb5b01802a1cdfc532f539885 Mon Sep 17 00:00:00 2001 From: Andy Dienes Date: Thu, 31 Jul 2025 15:11:57 -0400 Subject: [PATCH] delete internal memhash --- base/hashing.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/base/hashing.jl b/base/hashing.jl index 897a0d73cb874..2323a6566732c 100644 --- a/base/hashing.jl +++ b/base/hashing.jl @@ -345,7 +345,3 @@ end @assume_effects :total hash(data::String, h::UInt) = GC.@preserve data hash_bytes(pointer(data), sizeof(data), UInt64(h), HASH_SECRET) % UInt - -# no longer used in Base, but a lot of packages access these internals -const memhash = UInt === UInt64 ? :memhash_seed : :memhash32_seed -const memhash_seed = UInt === UInt64 ? 0x71e729fd56419c81 : 0x56419c81