Hi Robert,

It only changes the structure size. For example, the size of a struct
with a bool and a float variable may be different using kinds of
packing alignments. But this would not affect binary files written if
"/Zp" is only applied to serialize wrappers, IMHO.

Wang Rui


2010/3/25 Robert Osfield <[email protected]>:
> Hi Wang Rui, Ablerto et. al.
>
> Is it not just the wrapper classes themselves that will be affected by
> the packing, not the data that they serialize in and out.  As far as
> I'm aware raw data structures aren't serialized so the packing
> shouldn't effect the binary format.
>
> My expectation is that packing would change how much memory the
> serializers use when created on loading of the serializer plugins.
>
> Does this sounds right?
> Robert.
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to