Reference value of structs not optimized or inlined?

Walter Bright newshound1 at digitalmars.com
Fri Aug 28 13:51:03 PDT 2009


Jarrett Billingsley wrote:
> On Fri, Aug 28, 2009 at 4:20 PM, Walter
> Bright<newshound1 at digitalmars.com> wrote:
>> Jarrett Billingsley wrote:
>>> You're addressing the 'const' issue, but you haven't addressed the
>>> OP's issue: that 'ref', for whatever reason, prevents inlining. Const
>>> aside, why is this so?
>> Because I never updated the inlining code to handle it.
> 
> Well I'm glad it's that simple, and I'm sure Jeremie is too ;)

There are a lot of D specific optimization opportunities that are left 
undone for now.



More information about the Digitalmars-d mailing list