www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - dmd: Encourage more inlining across modules

reply Andrew Pennebaker <andrew.pennebaker gmail.com> writes:
I read from the FreeBSD documentation that dmd can compile many 
source trees without having to explicitly list all the filenames, 
however a lot of inlining optimizations are missed.

https://dlang.org/dmd-freebsd.html

Curious, could dmd separate out the module identification logic 
into an earlier phase, so that it can perform the same 
optimization regardless of whether users remember to explicitly 
name their files?
Nov 29 2018
parent Adam D. Ruppe <destructionator gmail.com> writes:
On Thursday, 29 November 2018 at 23:59:55 UTC, Andrew Pennebaker 
wrote:
 I read from the FreeBSD documentation that dmd can compile many 
 source trees without having to explicitly list all the 
 filenames, however a lot of inlining optimizations are missed.
Where, exactly, does it say that? The only possibility I can find is the -i option, but that works basically the same way as explicitly listing them.
Nov 29 2018