Skip to content

Commit

Permalink
Issue #0: Remove slow hash.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark2000 authored Aug 2, 2024
1 parent b328ad5 commit 706725d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/bsk_rl/scene/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 706725d

Please sign in to comment.