On Monday, 14 September 2015 at 21:05:42 UTC, Martin Nowak wrote:
The second beta for the 2.068.2 point release fixes an regression with destroy that could result in a memory leak [¹].


http://downloads.dlang.org/pre-releases/2.x/2.068.2/

-Martin

[¹]: https://issues.dlang.org/show_bug.cgi?id=15044

I believe I've found a compiler performance bug (or regression, I don't have any other compiler versions to test on right now). The following programming takes an abnormally long times to compile on 2.068.1 and 2.068.2:

import std.range;
import std.array;
import std.conv;
import std.algorithm;
import std.string;
import std.stdio;

enum Instructions: ushort
{
        add = 123,
        sub = 124,
}

uint[ushort.max] inst;

void initInst()
{
        //Removing this line drastically reduces compile time
        alias InstElem = ElementType!(typeof(inst));
}

void main()
{
}

https://issues.dlang.org/show_bug.cgi?id=15062

Reply via email to