optimizing struct/class members

lobo via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 6 18:58:02 PDT 2015


On Tuesday, 7 July 2015 at 00:23:38 UTC, John Colvin wrote:
> 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.

thanks,
lobo


More information about the Digitalmars-d-learn mailing list