DMD compilation speed
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Mon Mar 30 22:42:02 PDT 2015
On Tue, 31 Mar 2015 05:21:13 +0000, deadalnix wrote:
> On Tuesday, 31 March 2015 at 04:56:13 UTC, Daniel Murphy wrote:
>> I've used D's GC with DDMD. It works*, but you're trading better
>> memory usage for worse allocation speed. It's quite possible we could
>> add a switch to ddmd to enable the GC.
>>
>>
> That is not accurate. For small programs, yes. For anything non trivial,
> the amount of memory in the working is set become so big that I doubt
> there is any advantage of doing so.
i think that DDMD can start with GC turned off, and automatically turn it
on when RAM consumption goes over 1GB, for example. this way small-sized
(and even middle-sized) projects without heavy CTFE will still enjoy
"nofree is fast" strategy, and big projects will not eat the whole box'
RAM.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150331/b79ff8b1/attachment.sig>
More information about the Digitalmars-d
mailing list