Using core.reflect to rewrite code

max haughton maxhaton at gmail.com
Thu Aug 12 02:12:23 UTC 2021


On Wednesday, 11 August 2021 at 23:58:21 UTC, Stefan Koch wrote:
> On Tuesday, 10 August 2021 at 23:51:29 UTC, Stefan Koch wrote:
>> [...]
>
> I've manged to improve the performance of using core.reflect by 
> roughly 2x because I realized that class literals created by 
> core.reflect don't need "scrubbing".
>
> [...]

Can you profile it vs. a template metaprogramming solution?


More information about the Digitalmars-d mailing list