Creeping Bloat in Phobos

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 27 16:15:25 PDT 2014


On Saturday, 27 September 2014 at 23:00:20 UTC, Brad Roberts via 
Digitalmars-d wrote:
> Look at Peter's example, it's better for this, I believe.  Why 
> isn't empty being inlined?  That's a tiny little function with 
> a lot of impact.

This is most likely due to an issue with how the new DMD template 
emission strategy (needsCodegen() et al.) was integrated into 
LDC: https://github.com/ldc-developers/ldc/issues/674

The issue in question was fixed recently in LDC Git master, but 
regressed again when 2.066 was merged.

David


More information about the Digitalmars-d mailing list