Request for Comment assert(__ctfe)

Atila Neves atila.neves at gmail.com
Mon Apr 6 10:14:24 UTC 2020


On Sunday, 5 April 2020 at 12:11:23 UTC, Stefan Koch wrote:
> Hi Guys,
>
> I am currently working on speeding up dmd. In the presence of 
> templates and ctfe.
> and one thing that stood out is that we do codegen for symbols 
> which are never used.
> (and hopefully eliminated by a smart linker but eh ...)
>
> [...]

Wouldn't it be easier to skip codegen for private functions that 
are never called from non CTFE contexts?


More information about the Digitalmars-d mailing list