Encapsulating trust

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 3 16:29:43 PDT 2014


On 3 Sep 2014 23:00, "David Nadlinger via Digitalmars-d" <
digitalmars-d at puremagic.com> wrote:
>
> On Wednesday, 3 September 2014 at 21:00:13 UTC, deadalnix wrote:
>>
>> On Wednesday, 3 September 2014 at 06:37:15 UTC, Iain Buclaw via
>> Digitalmars-d wrote:
>>>
>>> For the time being, they are as expensive as virtual calls.
>>>
>>> Iain.
>>
>>
>> WUT ???
>>
>> How come ? The address of the call is know at compile time, the
>> optimizer should see through this, no ?
>
>
> Iain is selling his compiler short again. ;)
>

Always sell short, so they never complain when it does one better (also
means you don't overshoot expectations ;)

I am of course going off memory, and there are some very obvious cases with
delegates that never get optimized.

Iain.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140904/5411f779/attachment.html>


More information about the Digitalmars-d mailing list