[issue18835] Add PyMem_AlignedAlloc()
Stefan Krah
report at bugs.python.org
Wed Nov 1 17:21:00 EDT 2017
Stefan Krah <stefan at bytereef.org> added the comment:
Yes, it may be better not to add it.
To summarize the problems again:
--------------------------------
- C11 aligned_alloc() / free() would be more comfortable but isn't
available on MSVC.
- posix_memalign() performance isn't that great.
- hand-rolled aligned_calloc() is the fastest.
The feature could still be useful for fixing #31912 and #27987,
*if* someone has an idea how to integrate the aligned version.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue18835>
_______________________________________
More information about the Python-bugs-list
mailing list