Sometimes 100 lines of code can fix your ctfe perf

Adam D Ruppe destructionator at gmail.com
Tue Aug 24 16:58:26 UTC 2021


On Tuesday, 24 August 2021 at 16:52:30 UTC, Ali Çehreli wrote:
> I know it's not the same use case but I've standardized on the 
> following style for string formatting both for CTFE and run 
> time:
>
>   auto s = format!"hello %s world %s"(a, b);

yikes that's like the worst thing in the whole D world. brutally 
slow by all metrics.


More information about the Digitalmars-d mailing list