Reduce overhead when fork(1) (#375)
This commit is contained in:
@@ -179,7 +179,9 @@ class RadixCache:
|
||||
|
||||
def _print_helper(self, node, indent):
|
||||
for _, child in node.children.items():
|
||||
print(" " * indent, len(child.key), child.key[:10], f"r={child.ref_counter}")
|
||||
print(
|
||||
" " * indent, len(child.key), child.key[:10], f"r={child.ref_counter}"
|
||||
)
|
||||
self._print_helper(child, indent=indent + 2)
|
||||
|
||||
def _delete_leaf(self, node):
|
||||
|
||||
Reference in New Issue
Block a user