DMD compilation speed
Daniel Murphy via Digitalmars-d
digitalmars-d at puremagic.com
Mon Mar 30 22:38:47 PDT 2015
"deadalnix" wrote in message news:uwajsjgcjtzfeqtqoyjt at forum.dlang.org...
> 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 don't see how it's inaccurate. Many projects fit into the range where
they do not exhaust physical memory, and the slower allocation speed can
It's worth noting that 'small' doesn't mean low number of lines of code, but
low number of instantiated templates and ctfe calls.
More information about the Digitalmars-d