Explorar o código

Improved a docstring

dstromberg %!s(int64=14) %!d(string=hai) anos
pai
achega
10bad30ac1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bloom_filter_mod.py

+ 1 - 1
bloom_filter_mod.py

@@ -13,7 +13,7 @@ import random
 
 
 def get_probes(bfilter, key):
-	'''Generate a bunch of fast hash functions'''
+	'''Generate a bunch of fast hash functions - the output of this function is knoown tersely in the literature as "K"'''
 	hasher = random.Random(key).randrange
 	for _ in range(bfilter.num_probes):
 		array_index = hasher(len(bfilter.array_))