From ffd54f38b11323d7a90473889f2786150749fb5b Mon Sep 17 00:00:00 2001 From: James Cherry Date: Wed, 27 May 2026 10:44:55 -0700 Subject: [PATCH] rm hashPtr Signed-off-by: James Cherry --- include/sta/Hash.hh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/sta/Hash.hh b/include/sta/Hash.hh index 5cfd423d..579b31ca 100644 --- a/include/sta/Hash.hh +++ b/include/sta/Hash.hh @@ -25,7 +25,6 @@ #pragma once #include -#include #include namespace sta { @@ -59,12 +58,4 @@ nextMersenne(size_t n) size_t hashString(std::string_view str); -// Pointer hashing is strongly discouraged because it causes results to change -// from run to run. Use Network::id functions instead. -#if __WORDSIZE == 64 - #define hashPtr(ptr) (reinterpret_cast(ptr) >> 3) -#else - #define hashPtr(ptr) (reinterpret_cast(ptr) >> 2) -#endif - } // namespace sta