opIndexMember

claptrap clap at trap.com
Sun Dec 27 21:32:24 UTC 2020


On Sunday, 27 December 2020 at 17:34:44 UTC, sighoya wrote:
> On Sunday, 27 December 2020 at 14:46:43 UTC, claptrap wrote:
>> In some cases a structure of arrays is more desirable than an 
>> array of structs, usually for performance reasons, but maybe 
>> you want tight packing or something else, so I have been 
>> thinking a while about proposing the following...
>
>
> What about this:

Codegen is better, but doesnt handle ref parameters, wont handle 
different types, maybe it's not just 3 floats, maybe a bool, or 
an enum too.




More information about the Digitalmars-d mailing list