Memory Management
How MicroPython’s Garbage Collector Survives on 256KB
A forum question that comes back every few months goes like this: “Why does gc.collect() take about the same time on my Pico whether the heap is almost.
Inside CPython’s obmalloc: How the Small Object Allocator Avoids the System Heap
Jump to: What exactly does obmalloc manage, and what falls through to system malloc? · How are arenas, pools, and blocks structured inside CPython?
Python’s Reference Counting Has Changed (And You Probably Missed It)
Well, that’s not entirely accurate — I actually spent most of last Tuesday staring at a flame graph that absolutely refused to make sense.
