[issue22193] Add _PySys_GetSizeOf()
Martin v. Löwis
report at bugs.python.org
Fri Aug 15 17:00:46 CEST 2014
Martin v. Löwis added the comment:
Christian: I don't see why 24 bytes overhead sounds strange. GC_Head is
typedef union _gc_head {
struct {
union _gc_head *gc_next;
union _gc_head *gc_prev;
Py_ssize_t gc_refs;
} gc;
double dummy; /* force worst-case alignment */
} PyGC_Head;
which happens to be 3*8=24 bytes on a 64-bit system.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22193>
_______________________________________
More information about the Python-bugs-list
mailing list