Skip to content

Commit

Permalink
remove redundant code, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosgavalas committed Sep 16, 2023
1 parent f9dc12c commit 7564cdd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kevo/common/fencepointers.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,5 @@ def from_file_descriptor(self, fd, enc_len):
def __len__(self):
return self.incr

def __str__(self) -> str:
return self.serialize()

def __sizeof__(self):
return sum((getsizeof(k) + getsizeof(v) for k, v in self.pointers.items()))

0 comments on commit 7564cdd

Please sign in to comment.