dmd: Encourage more inlining across modules

Andrew Pennebaker andrew.pennebaker at gmail.com
Thu Nov 29 23:59:55 UTC 2018


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?


More information about the Digitalmars-d mailing list