On the performance of building D programs
Vladimir Panteleev
vladimir at thecybershadow.net
Thu Apr 4 17:54:22 PDT 2013
On Friday, 5 April 2013 at 00:39:49 UTC, bearophile wrote:
> Vladimir Panteleev:
>
>> D code already compiles pretty quickly, but here's an
>> opportunity to nearly halve that time (for some cases) - by
>> moving some of rdmd's basic functionality into the compiler.
>
> Make the D compiler search for its modules was one of the first
> (unwritten) enhancement requests. That's the right default for
> a handy compiler (plus a compiler switch to disable that
> behavour). But for backwards compatibility I think that switch
> has to do the opposite, to enable the recursive search.
Actually, that switch is -c. The default behavior is "compile and
link"... actually, I can't think of any instances when making -r
the default when only one module is specified on the command line
would break anything.
More information about the Digitalmars-d
mailing list