Cached Incremental Updates of DUB Builds

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 26 14:44:25 PST 2015


On Monday, 26 January 2015 at 22:41:09 UTC, Adam D. Ruppe wrote:
> On Monday, 26 January 2015 at 22:33:21 UTC, Nordlöw wrote:
>> My project has grown beyound 10k lines of code.
>
> Eh, that's nothing, especially if they aren't templates. dmd 
> will compile that in a fraction of a second (and even then, if 
> you used phobos, reading the stdlib into memory will dominate 
> the compile time)

Ok, then it's more than that. It takes 7 seconds:

time dub build

Building knetquery ~master configuration "application", build 
type debug.
Compiling using dmd...
../sort_ex.d(143): Warning: use std.algorithm.sort instead of 
.sort property
../sort_ex.d(168): Warning: use std.algorithm.sort instead of 
.sort property
Linking...

real	0m7.338s
user	0m6.121s
sys	0m1.137s


More information about the Digitalmars-d-learn mailing list