[Tutor] object size in python is in what units?

Steven D'Aprano steve at pearwood.info
Tue Jul 23 16:30:40 CEST 2013


On 24/07/13 00:21, Oscar Benjamin wrote:

> The reason for the patterns that you observe are related to CPython's
> memory pool allocator. You can read the long source comment describing
> this here:
> http://hg.python.org/cpython/file/a5681f50bae2/Objects/obmalloc.c#l367

[...]


Nice analysis! Thanks Oscar!


-- 
Steven


More information about the Tutor mailing list