<p dir="ltr"><br>
On 3 Sep 2014 23:00, "David Nadlinger via Digitalmars-d" <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br>
><br>
> On Wednesday, 3 September 2014 at 21:00:13 UTC, deadalnix wrote:<br>
>><br>
>> On Wednesday, 3 September 2014 at 06:37:15 UTC, Iain Buclaw via<br>
>> Digitalmars-d wrote:<br>
>>><br>
>>> For the time being, they are as expensive as virtual calls.<br>
>>><br>
>>> Iain.<br>
>><br>
>><br>
>> WUT ???<br>
>><br>
>> How come ? The address of the call is know at compile time, the<br>
>> optimizer should see through this, no ?<br>
><br>
><br>
> Iain is selling his compiler short again. ;)<br>
></p>
<p dir="ltr">Always sell short, so they never complain when it does one better (also means you don't overshoot expectations ;)</p>
<p dir="ltr">I am of course going off memory, and there are some very obvious cases with delegates that never get optimized.</p>
<p dir="ltr">Iain.<br>
</p>