MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / close

Method close

join/LSH/datasketch/lsh.py:363–366  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

361 self.close()
362
363 def close(self):
364 self.lsh.keys.empty_buffer()
365 for hashtable in self.lsh.hashtables:
366 hashtable.empty_buffer()
367
368 def insert(self, key, minhash, check_duplication=True):
369 '''

Callers 15

__exit__Method · 0.95
preprocess_yago.pyFile · 0.80
match_entity_from_yagoFunction · 0.80
process_subsetFunction · 0.80
match_entity_from_yagoFunction · 0.80

Calls 1

empty_bufferMethod · 0.45

Tested by

no test coverage detected