On Friday, 6 July 2018 at 17:04:37 UTC, Ecstatic Coder wrote:
Also if your concatenate string in a loop in c# then you use
the https://www.dotnetperls.com/string-join function as it
simpler and faster.
There is no reason why we can't have the function equivalent
in D.
-Alexander
Yeah I know, this code was DELIBERATLY naive.
That was the whole point of it.
Misuse of tools is not an argument against the tools themselves.
Blaming the GC for your "naive" code, is equivalent to a
carpenter blaming his hammer for his error when the hammer is in
fine shape.
As I said before, the GC is not an issue if you know what you are
doing.
-Alexander