From 706725dbb40afaa9dd879f82131bc3f13dd49603 Mon Sep 17 00:00:00 2001 From: Mark Stephenson Date: Fri, 2 Aug 2024 10:36:15 -0700 Subject: [PATCH] Issue #0: Remove slow hash. --- src/bsk_rl/scene/targets.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/bsk_rl/scene/targets.py b/src/bsk_rl/scene/targets.py index 77a62ccd..49dfe9f6 100644 --- a/src/bsk_rl/scene/targets.py +++ b/src/bsk_rl/scene/targets.py @@ -48,10 +48,6 @@ def id(self) -> str: self._id = f"{self.name}_{id(self)}" return self._id - def __hash__(self) -> int: - """Hash target by unique id.""" - return hash((self.id)) - def __repr__(self) -> str: """Get string representation of target.