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.