STINNER Victor <victor.stin...@gmail.com> added the comment:

msg196194: Antoine Pitrou: "Note that the current small object allocator, if 
not disabled, *should* already return you aligned memory, by construction (each 
allocation size has dedicated pools from which memory blocks are carved)."

In my current implementation of _PyObject_AlignedAlloc(), I only call 
pymalloc_alloc() for alignment <= pymalloc ALIGNMENT. Maybe we can do better?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue18835>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to