[sldev] Alignment.
Alan Grimes
agrimes at speakeasy.net
Tue May 15 17:49:18 PDT 2007
Last I checked, the compiler only aligned data structures if you set the
specific flag. -- Alignment can affect performance up to 30%. For
classic arrays of structs, careful choice of variable ordering and
padding was your only choice. I don't know the best practice for classes
though.
As requested, I am preparing the bool patch now. It should be ready by
the end of the evening.
--
Opera: Sing it loud! :o( )>-<
More information about the SLDev
mailing list