[Issue 6498] [CTFE] copy-on-write is slow and causes huge memory usage

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jun 28 09:08:41 PDT 2014


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject.org> ---
FYI, all PR's have been merged in.

I won't bother listing them all (there's a lot that was done over 2012/2013). 
There has been no work on this since June 2013 IIRC.

https://github.com/D-Programming-Language/dmd/pull/1778#issuecomment-19964496


What should be focused on (thanks to Walter's idea of allocating but not
freeing memory) is to limit just how much memory is allocated from CTFE.  By
possibly find ways to re-use and not re-allocate memory, or maybe giving CTFE
its own allocator (it is a backend in its own right, afterall).

--


More information about the Digitalmars-d-bugs mailing list