Honey, I shrunk the build times
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 9 09:20:40 PDT 2015
On 6/9/15 4:06 AM, Atila Neves wrote:
> 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?
Last one's right. From the diff:
# Each package depends on everything. We may improve that in the future.
Andrei
More information about the Digitalmars-d
mailing list