Browse Source

Tiny exponent for performance test max

dstromberg 12 years ago
parent
commit
0ab3176133
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test-bloom-filter

+ 2 - 2
test-bloom-filter

@@ -282,8 +282,8 @@ def main():
 
     if performance_test:
         sqrt_of_10 = math.sqrt(10)
-        #for exponent in range(5): # this is a lot, but probably not unreasonable
-        for exponent in range(19): # this is a lot, but probably not unreasonable
+        for exponent in range(5): # this is a lot, but probably not unreasonable
+        #for exponent in range(19): # this is a lot, but probably not unreasonable
             elements = int(sqrt_of_10 ** exponent + 0.5)
             for filename in [ None, 'bloom-filter-rm-me', ('bloom-filter-rm-me', 768 * 2**20), ('bloom-filter-rm-me', -1) ]:
                 description = give_description(filename)