[issue27987] obmalloc's 8-byte alignment causes undefined behavior

Inada Naoki report at bugs.python.org
Tue May 14 06:18:48 EDT 2019


Inada Naoki <songofacandy at gmail.com> added the comment:

yes.  sys.getsizeof(3.14) is 24.  And it becomes 32 byte in 16byte aligned pymalloc. (+33%)

FYI, jemalloc has 8, 16, 32 size classes, but no 24 too.
http://jemalloc.net/jemalloc.3.html#size_classes

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27987>
_______________________________________


More information about the Python-bugs-list mailing list