D compiles fast, right? Right??

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Apr 2 16:09:01 UTC 2018


On 04/02/2018 08:35 AM, Atila Neves wrote:
> 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.
> 
> I profiled it as soon as I had the numbers. I didn't bother to mention 
> it because I thought I'd just work on making dmd faster instead.
> 
> I seem to be the one who feels the most pain by this, it'd be silly of 
> me to expect anyone else to work on it.

A large and obvious time sink is that unittests in library code are 
built when user code is to be unittested. I'd recommend doing this 
before any other optimization.


More information about the Digitalmars-d mailing list