my first D program (and benchmark against perl)

Tobias Pankrath via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Nov 12 03:03:38 PST 2015


> or with ~ operator:
>
> import std.stdio;
>
> [...]

Did anyone check that the last loop isn't optimized out? Could 
also be improved further if you make the function take an output 
range and reuse one appender for every call, but that might be to 
far off the original perl solution.


More information about the Digitalmars-d-learn mailing list