Commits

Anonymous committed dd3094a

last plus counter

Comments (0)

Files changed (1)

simplebloom/__init__.py

         for idx in self.generate(string):
             self.bits[idx] = ctypes.c_bool(1)
 
+        self.counter += 1
+
     def exists(self, string):
         for idx in self.generate(string):        
             if not self.bits[idx]: return False