Message304918
What matters when a Python object is allocated? The start of the PyObject structure, or the start of the PyGC_Head structure? Would it be possible to align the PyObject start?
The simplest option is to store data which needs to be aligned in a second memory block allocated by PyMem_AlignedAlloc(). |
|
Date |
User |
Action |
Args |
2017-10-24 15:33:57 | vstinner | set | recipients:
+ vstinner, pitrou, benjamin.peterson |
2017-10-24 15:33:57 | vstinner | set | messageid: <1508859237.58.0.213398074469.issue27987@psf.upfronthosting.co.za> |
2017-10-24 15:33:57 | vstinner | link | issue27987 messages |
2017-10-24 15:33:57 | vstinner | create | |
|