Supplemental reading / reference:
Allocation techniques
A fast storage allocator
Source code for Python memory allocation