Antoine Pitrou added the comment:

Unless the memory allocator actually supports it, this means you lose a whole 
lot of memory for padding, though... Memory which will sit there unused at the 
end of another cacheline.

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).

----------
nosy: +haypo, pitrou, tim.peters

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

Reply via email to