Sorry, it a mistypo (i began from wchar[], later changed to wstring)

Real problem can be seen here

import std.stdio;
import std.date;

void f0()
{
        wstring a;

        foreach(i; 0 .. 100_000_000)
        {
                a ~= " "w;
        }
}

void main()
{
        auto r = benchmark!(f0)(10);
        writeln(r, "ms");
}

Reply via email to