Reference value of structs not optimized or inlined?

Ary Borenszweig ary at esperanto.org.ar
Fri Aug 28 17:01:09 PDT 2009


Walter Bright escribió:
> 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.

Why?

Seeing D as "a systems language with features form high-level languages 
but without the performance penalty so you can prefer it over 
C/C++/Java/C# etc.", if D's performance isn't that good then there's not 
much competition for people coming from either sides that expect high 
performance.

bearophile and others from time to time complain about performance 
issues in D, just because D promises performance. I think this is more 
important that adding more features that won't give you higher performance.

performance

(sorry, had to repeat that word one more time :-P)



More information about the Digitalmars-d mailing list