P34 · Performance & Profiling

profiling, memory & optimisation

Make slow Python fast, on evidence not instinct: profile to find the hot spot, measure memory with tracemalloc, then optimise - complexity before constant factors - and confirm the win against a real budget.