DMD - Windows

Trass3r un at known.com
Mon Jan 9 05:27:26 PST 2012


> static this() seems to be a problem. Unless there's powerful
> whole-program-optimisation, how can it strip out any data that might be
> initialised/touched in static this()?
It probably can't.

> Why wouldn't dead code be eliminated effectively already?
Cause 1 section is created for each module. So if you use just 1 function  
the whole module is pulled in.


More information about the Digitalmars-d mailing list