[sldev] Alignment.

Thomas Rowland tom at cornish-pasty.com
Wed May 16 04:23:23 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.
> 
See http://msdn2.microsoft.com/en-us/library/aa290049(VS.71).aspx 

> As requested, I am preparing the bool patch now. It should be 
> ready by the end of the evening.
> 
> -- 
> Opera: Sing it loud! :o(  )>-< 
> _______________________________________________
> Click here to unsubscribe or manage your list subscription: 
> /index.html
> 



More information about the SLDev mailing list