Message305304
Stefan Krah: "we care about the C11 restriction? (...) "size - number of bytes to allocate. An integral multiple of alignment" (...) posix_memalign and _aligned_malloc don't care about the multiple."
I prefer to ignore this restriction at this point.
I wouldn't be surprised if posix_memalign() and _aligned_malloc() already align the size for us internally.
We can add the restriction later, if needed. |
|
Date |
User |
Action |
Args |
2017-10-31 14:26:16 | vstinner | set | recipients:
+ vstinner, tim.peters, rhettinger, pitrou, benjamin.peterson, trent, njs, skrah, neologix, xdegaye, wscullin |
2017-10-31 14:26:16 | vstinner | set | messageid: <1509459976.6.0.213398074469.issue18835@psf.upfronthosting.co.za> |
2017-10-31 14:26:16 | vstinner | link | issue18835 messages |
2017-10-31 14:26:16 | vstinner | create | |
|