Summary: [CTFE] copy-on-write is slow and causes huge memory
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from Don <> 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)
    return n;
static assert(bug6498(10_000_000)==10_000_000);

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

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to