template statistics

Stefan Koch uplink.coder at googlemail.com
Fri Jun 5 20:25:12 UTC 2020


On Friday, 5 June 2020 at 20:18:01 UTC, Andrei Alexandrescu wrote:
> On 6/5/20 4:12 PM, Stefan Koch wrote:
>> On Friday, 5 June 2020 at 20:10:30 UTC, Andrei Alexandrescu 
>> wrote:
>>> On 6/3/20 4:02 PM, Walter Bright wrote:
>>>> On 6/3/2020 7:04 AM, Adam D. Ruppe wrote:
>>>>> tbh I think this case looks worse than it is.
>>>>
>>>> Not if you look at the code generated by:
>>>>
>>>>    import std.stdio;
>>>>
>>>>    void test()
>>>>    {
>>>>      writeln("hello");
>>>>    }
>>>>
>>>> It's embarrassing.
>>>
>>> Here it is: https://godbolt.org/z/LjUtc4
>>>
>>> I was surprised.
>>>
>>> It would be great if someone took a look at that.
>> 
>> What surprised you?
>
> Code, code everywhere...

To me it looks like an accurate translation of the source code.




More information about the Digitalmars-d mailing list