[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

Antoine Pitrou report at bugs.python.org
Fri Dec 5 19:25:35 CET 2014


Antoine Pitrou added the comment:

Benchmarks and Intel's recommendation show that aligned allocation is actually important for AVX performance, and NumPy depends on CPython providing the right allocation APIs (for integration with tracemalloc): https://github.com/numpy/numpy/issues/5312

So I think for 3.5 we should start providing the APIs. Whether we use them in Python core is another discussion.

Nathaniel, what APIs would you need exactly? See Victor's proposal in 
msg196834.

----------
nosy: +njs
type:  -> enhancement
versions: +Python 3.5 -Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18835>
_______________________________________


More information about the Python-bugs-list mailing list