D compiles fast, right? Right??

Stefan Koch uplink.coder at googlemail.com
Sun Apr 1 20:05:41 UTC 2018


On Sunday, 1 April 2018 at 02:40:26 UTC, Walter Bright wrote:
> On 3/30/2018 1:17 PM, Andrei Alexandrescu wrote:
>> Could be faster.
>
> It's been a fair amount of time since somebody has done 
> profiling of dmd. It needs to be done. There's probably plenty 
> of low hanging fruit. Speculating about why it is slow is 
> pointless without data.

have a look at https://github.com/dlang/dmd/pull/7792 for a 
little profiling utility which tells you about which parts of a 
programm draw compiletime.

Whenever I see long compile times 90% of it is due to templates.


More information about the Digitalmars-d mailing list