Compiler-recognized template patterns
Stefan Koch
uplink.coder at googlemail.com
Wed Jul 24 07:01:50 UTC 2024
On Tuesday, 23 July 2024 at 16:00:39 UTC, Richard (Rikki) Andrew
Cattermole wrote:
>
> Turning off caching requires template instantiation to occur.
> It does not change that.
>
> The point is to recognize a template instantiation request as a
> ``__trait`` which is very cheap to do on the compiler side.
>
> So no, turning off caching wouldn't be beneficial.
+1
In general turning off template caching is never beneficial. I
have experimented with that in my time.
More information about the Digitalmars-d
mailing list