Any takers for http://d.puremagic.com/issues/show_bug.cgi?id=9673?

Vladimir Panteleev vladimir at thecybershadow.net
Sun Mar 10 07:07:37 PDT 2013


On Sunday, 10 March 2013 at 13:35:34 UTC, Rainer Schuetze wrote:
> Looks pretty ok, but considering the number of modules in dfeed 
> (I count about 24) and them being not very large, that makes 
> compilation speed for each module about 1 second. It will only 
> be faster if the number of modules to compile does not exceed 
> twice the number of cores available.

~/DFeed$ cat all.txt | wc -l
62

> I think it does not scale well with increasing numbers of 
> modules.

Why? Wouldn't it scale linearly? Or you mean due to the increased 
number of graph edges when increasing graph nodes?

Anyway, the programmer can take steps in lessening intermodule 
dependencies to reduce incremental build times. That's not an 
option with compiling everything at once, unless you split the 
code manually into libraries.


More information about the Digitalmars-d mailing list