Closed ndvbd closed 2 years ago
Hi @ndvbd! Sorry for huge delay: notifications were disabled for some reason. Thank you for raising this issue. I tried to make the docs more clear by adding this example:
mem_top
iterates all objects found in memory and calculates:
{("some", "complex", "key"): "value"}
will have refs: 2
- 1 ref for key, 1 ref for value("some", "complex", "key")
will have refs: 3
- 1 ref per item
Hi Denis, can you plz explain the difference between refs and types?
You wrote "refs - number of direct references from this object to other objects, like keys and values of dict" - what do you mean by "this object"? What object?
For example, how do you read this output of refs: