[SciPy-User] SciPy-User Digest, Vol 80, Issue 22
Tom Kuiper
kuiper at jpl.nasa.gov
Tue Apr 13 11:39:21 EDT 2010
Thanks for the tip Robert.
On my 32-bit laptop:
In [11]: calcsize('HHHH L HHH L d L H')
Out[11]: 38
On a 64-bit machine:
In [3]: calcsize('HHHH L HHH L d L H')
Out[3]: 50
Regards,
Tom
> Date: Tue, 13 Apr 2010 09:41:12 -0500
> From: Robert Kern <robert.kern at gmail.com>
> C compilers can insert padding into the memory layout of a structure
> in order to align certain members to certain boundaries, particularly
> doubles. This behavior is compiler- and platform-specific.
>
More information about the SciPy-User
mailing list