Honey, I shrunk the build times

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 7 02:01:19 PDT 2015


On 7 June 2015 at 10:51, ketmar via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On Sun, 07 Jun 2015 08:24:23 +0000, Temtaime wrote:
>
> > It's really bad solution.
> >
> > Are you building phobos 1000 times a day so 5 seconds is really long for
> > you ?
> > Separate compilation prevents compiler from inlining everything.
>
> how is that? even if we left lto aside, compiler needs module source
> anyway. if one will use full .d files instead of .di, nothing can prevent
> good compiler from inlining.


Semantic analysis is done lazily.  No AST, no inline.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150607/8970e7a5/attachment.html>


More information about the Digitalmars-d mailing list