Program size, linking matter, and static this()
    Walter Bright 
    newshound2 at digitalmars.com
       
    Fri Dec 16 16:03:13 PST 2011
    
    
  
On 12/16/2011 3:54 PM, Jonathan M Davis wrote:
> I'll look at what it would take to get rid of the static constructors and make
> the singletons load lazily, but it will require subverting the type system,
> since it's going to have to break both immutable and pure to be loaded lazily.
Sure, but having a way to tell the compiler "assume this constructor does not 
have any dependencies" also subverts the type system.
    
    
More information about the Digitalmars-d
mailing list