On Wednesday, 31 July 2013 at 22:23:54 UTC, bearophile wrote:
<snip>
Currently this code inlines nothing (the allocations, the difference and the product):

<snip>

If you write it in component-style (using doubles here):

<snip>

Resident compiler guys,

How difficult would it be to make sure stuff like this gets inlined and optimized more thoroughly? I'm very ignorant of compiler internals but it's kind of disheartening that LDC can't inline them well despite being a fairly good optimizing compiler. Is this a frontend issue or a backend issue?

Reply via email to