August 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6498

           Summary: [CTFE] copy-on-write is slow and causes huge memory
                    usage
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: clugdbug@yahoo.com.au


--- Comment #0 from Don <clugdbug@yahoo.com.au> 2011-08-15 00:54:10 PDT ---
This is the main reason why CTFE is so slow.

int bug6498(int x)
{
    int n = 0;
    while (n < x)
        ++n;
    return n;
}
static assert(bug6498(10_000_000)==10_000_000);

--> Fails with an 'out of memory' error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 26, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6498


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |critical


--- Comment #1 from Don <clugdbug@yahoo.com.au> 2012-11-26 07:14:57 PST ---
Upgrading severity. I've done several commits to move towards a solution but I still need to do more restructuring to properly fix this.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------