Excluding symbols

extrawurst via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 20 13:31:36 PDT 2015


On Monday, 20 April 2015 at 13:22:15 UTC, Etienne wrote:
> I've been using a lot of CTFE in my libraries and this has had 
> the side effect of increasing my link time beyond 13 seconds. 
> There's a pretty big chunk of those symbols being exported that 
> are used only for evaluating mixins.
>
> Would there be a way to specify something in the lines of 
> `extern (none):` or `intern:`?

what happens with totally empty functions ? can't they be removed 
on compilation ? static if(__ctfe){} could be used to make those 
empty for non-ctfe then..


More information about the Digitalmars-d mailing list