first numbers: type function vs template
Per Nordlöw
per.nordlow at gmail.com
Fri Aug 21 22:05:31 UTC 2020
On Friday, 21 August 2020 at 19:13:30 UTC, Stefan Koch wrote:
> In terms of memory a quick best out of three reveals:
> 19080k for the template and
> 14328k for the type function.
>
> Which is a reduction by roughly 25%.
>
> I am rather pleased by those numbers, given that type functions
> are still very much proof of concept and rather unoptimized.
Nice.
BTW, is newCTFE's latency to high to give further speedups for
this type function?
More information about the Digitalmars-d
mailing list