On type functions

Stefan Koch uplink.coder at googlemail.com
Sun May 3 09:37:19 UTC 2020


On Sunday, 3 May 2020 at 09:35:34 UTC, Stefan Koch wrote:
> First things first, discussions about syntax are NOT WELCOME in 
> this topic!
> Type functions are something which I have had floating around 
> my mind since early 2018.
> While working on newCTFE I did performance measurements on code 
> which people send me and which they believed was slow because 
> of CTFE.
> It turned out that actually recursive introspection templates 
> and "unrolled tuple foreach" where actually at faut, most of 
> the time.
> Because they littered the code with many many statements and 
> symbols that were only temporarily needed at compile time. And 
> yet were incorporated into the generated code.
>
> [...]

The previous post of send before I was finished ... I hit enter 
by accident.
anyways it should already give the gist of what I wanted to 
convey.


More information about the Digitalmars-d mailing list