@@ -18,10 +18,6 @@ import os
import math
import array
import random
-#mport bufsock
-#mport hashlib
-#mport numbers
-import python2x3
try:
import mmap as mmap_mod
@@ -31,6 +27,12 @@ except ImportError:
else:
HAVE_MMAP = True
+#mport bufsock
+#mport hashlib
+#mport numbers
+
+import python2x3
# In the literature:
# k is the number of probes - we call this num_probes_k
# m is the number of bits in the filter - we call this num_bits_m