Study: build times for D programs

Walter Bright newshound2 at digitalmars.com
Wed Jul 25 11:58:33 PDT 2012


On 7/25/2012 10:50 AM, Andrei Alexandrescu wrote:
> On 7/25/12 1:24 PM, Walter Bright wrote:
>> On 7/25/2012 8:13 AM, Andrei Alexandrescu wrote:
>>> Yes, and both debug and release build times are important.
>>
>> Optimized build time comparisons are less relevant - are you really
>> willing to trade off faster optimization times for less optimization?
>>
>> I think it's more the time of the edit-compile-debug loop, which would
>> be the unoptimized build times.
>
> There are systems that only work in release mode (e.g. performance is part of
> the acceptability criteria) and for which debugging means watching logs.
>
> So the problem is not faster optimization times for less optimization (though
> that's possible, too), but instead build times for a given level of optimization.

The easy way to improve optimized build times is to do less optimization.

I'm saying be careful what you ask for - you might get it!




More information about the Digitalmars-d mailing list