pragma(__ctfe)

ryuukk_ ryuukk.dev at gmail.com
Thu Sep 28 05:04:11 UTC 2023


On Thursday, 28 September 2023 at 03:30:01 UTC, Nicholas Wilson 
wrote:
> I have need of the ability to suppress the code generation of 
> functions for using mixin generation functions with dcompute. 
> Below is a link to a PR to implement that functionality.
>
> https://github.com/dlang/dmd/pull/15636
>
> What are peoples thoughts on this?

Why couldn't the compiler already guess this?

To me a simple static analysis would be enough and better, or is 
it too slow? time saved not generating what's not used could 
offset time spent on the analysis?


More information about the Digitalmars-d mailing list