Program size, linking matter, and static this()
    Sean Kelly 
    sean at invisibleduck.org
       
    Fri Dec 16 15:12:32 PST 2011
    
    
  
On Dec 16, 2011, at 2:00 PM, Andrei Alexandrescu wrote:
> 
> I'm not an expert in linkers, but my understanding is that linkers naturally remove unused object files. That, coupled with dmd's ability to break compilation output in many pseudo-object files, would take care of the matter. Truth be told, once you link in Object.factory(), bam - all classes are linked.
There's an old bugzilla entry that may apply:
http://d.puremagic.com/issues/show_bug.cgi?id=879
    
    
More information about the Digitalmars-d
mailing list