Browse Source

Remove TODO SIMD (#50)

justheuristic 5 năm trước cách đây
mục cha
commit
b26c1525b9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      hivemind/dht/routing.py

+ 1 - 1
hivemind/dht/routing.py

@@ -245,7 +245,7 @@ class DHTID(int):
         :return: a number or a list of numbers whose binary representations equal bitwise xor between DHTIDs.
         :return: a number or a list of numbers whose binary representations equal bitwise xor between DHTIDs.
         """
         """
         if isinstance(other, Iterable):
         if isinstance(other, Iterable):
-            return list(map(self.xor_distance, other))  # TODO make some SIMD
+            return list(map(self.xor_distance, other))
         return int(self) ^ int(other)
         return int(self) ^ int(other)
 
 
     @classmethod
     @classmethod