Make Proxy hashing faster

This commit is contained in:
monosans
2022-09-08 09:04:54 +03:00
parent ca2c7060ec
commit 39f74cafe7
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -1,5 +1,9 @@
# YYYY-MM-DD
## 2022-09-08
- Make Proxy hashing faster.
## 2022-08-23
- Add more sources.
+1 -1
View File
@@ -65,7 +65,7 @@ class Proxy:
return self.socket_address == other.socket_address
def __hash__(self) -> int:
return hash(("socket_address", self.socket_address))
return hash(self.socket_address)
class Folder: