On Tuesday, 9 June 2015 at 16:20:35 UTC, Andrei Alexandrescu
wrote:
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.
Ah right, sorry, I missed that. reggae already calculates
dependencies by asking the compiler and (modulo bugs) only
recompiles packages that need to be recompiled.
Atila