optimizing struct/class members

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 6 17:23:36 PDT 2015


On Monday, 6 July 2015 at 23:24:00 UTC, lobo wrote:
> Hi,
>
> In C++ it's important to layout struct/class members correctly 
> for performance reasons.
>
> Is the same true in D?
>
> Thanks,
> lobo

Short answer: yes.


More information about the Digitalmars-d-learn mailing list