Thread overview | |||||
---|---|---|---|---|---|
|
July 06, 2015 optimizing struct/class members | ||||
---|---|---|---|---|
| ||||
Hi, In C++ it's important to layout struct/class members correctly for performance reasons. Is the same true in D? Thanks, lobo |
July 07, 2015 Re: optimizing struct/class members | ||||
---|---|---|---|---|
| ||||
Posted in reply to lobo | 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.
|
July 07, 2015 Re: optimizing struct/class members | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | 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
|
Copyright © 1999-2021 by the D Language Foundation