Skip to content

Memory practice problems in Python

Difficulty:
Category:
Tag:

Showing 11 of 11

Status Title Difficulty
A registry that does not prevent collection Medium
cached_property: compute once, release with the instance, invalidate on demand Medium
Capstone: five defects, and which tool would have found each one Hard
deep_sizeof: count every distinct object exactly once Medium
find_growth: measure retention, and stop the tracer on every path Medium
Lazy record batches: what laziness moves Medium
lru_cache on a method: fix the unbounded instance leak Hard
The __exit__ contract: return the resource, propagate the exception Medium
The streaming sort-merge join Hard
Walking an object graph with gc.get_referents Medium
Worker Recycling: max_tasks_per_child Without the Silent Downgrade Medium