Honey, I shrunk the build times

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 9 04:06:19 PDT 2015


On Saturday, 6 June 2015 at 21:42:47 UTC, Andrei Alexandrescu 
wrote:
> https://github.com/D-Programming-Language/phobos/pull/3379
>
> Punchline: major reduction of both total run time and memory 
> consumed.
>
>
> Andrei

Are the inter-package dependencies handled correctly? It's hard 
to say looking at the diff, but I don't see where it's done.

With the "compile everything at once" model it's not an issue; 
everything is getting recompiled anyway. With per-package... if 
foo/toto.d gets changed and bar/tata.d has an "import foo.toto;" 
in it, then both foo and bar packages need to get recompiled.

Or is this change recompiling everything all of the time but just 
happens to do it a package at a time?

Atila


More information about the Digitalmars-d mailing list