Good examples of value types

via Digitalmars-d digitalmars-d at puremagic.com
Thu May 7 02:15:47 PDT 2015


On Thursday, 7 May 2015 at 02:09:34 UTC, Freddy wrote:
> It doesn't matter whether they are by value or by ref but by 
> value usually has performance increases(especially considering 
> you can by a value type by ref in D if you need to).

Yep, this is very much true, but on x86 the register size is 
increasing so a good compiler could hold 512 bits in a register. 
If only compiler and backends weren't so far behind hardware 
developments...


More information about the Digitalmars-d mailing list