Dynamic Arrays & Class Properties

Mason Green mason.green at gmail.com
Thu Aug 28 04:45:10 PDT 2008


Jarrett Billingsley Wrote:

> 
> There's no memory/register overhead; ConstArrayReference!(T).sizeof == 
> (T[]).sizeof.
> 
> And if you use -inline, there's no function call overhead either.  :) 
> 
> 

Ah, thanks for the tip!

BTW, how much does using the -inline compiler flag have an effect on improving performance? Anyone have a good explanation as to how it works?

Thanks,
Mason


More information about the Digitalmars-d-learn mailing list