[Python-Dev] int/float freelists vs pymalloc

Christian Heimes lists at cheimes.de
Thu Feb 14 08:32:47 CET 2008
Andrew MacIntyre wrote:
>> By the way objects are always aligned at 8 byte address boundaries. A 12
>> or 4 bytes object occupies 16 bytes.
> 
> No, with PyMalloc a 4 byte object occupies 8 bytes (see the comments at
> the top of Objects/obmalloc.c).

I know. It's a typo. It should read "12 or 14 byte object".

Christian



More information about the Python-Dev mailing list