Link time optimization in D

Walter Bright newshound1 at digitalmars.com
Mon May 31 22:32:32 PDT 2010


Leandro Lucarella wrote:
> Walter Bright, el 31 de mayo a las 15:41 me escribiste:
>> To say D code is slower because it lacks link-time optimization is a
>> false supposition.
> 
> Yeah, but you can't get link-time optimization if you compile each file
> separately (to enable partial compilation when you change just one
> file). Yes I know that D compiles really fast, but you can never compile
> fast enough :)

The link-time optimization is essentially compiling the whole project anyway, so 
I don't see how you're saving any time with it over D's approach.


More information about the Digitalmars-d mailing list