Article: Increasing the D Compiler Speed by Over 75%
dennis luehring
dl.soluz at gmx.net
Tue Aug 13 02:44:08 PDT 2013
Am 12.08.2013 17:00, schrieb Richard Webb:
> Another little observation:
>
> Dsymbol::toPrettyChars() potentially calls toChars() twice on each
> symbol (so it creates 2 copies of the string representation).
> Some instances of toChars() just return a literal string, but for
> templates it can do a bunch of work. Doesn't sounds like the most
> efficient approach?
>
>
> Saying that though, it looks like a lot of the calls to that are to
> build error strings that are never displayed because errors are gagged,
> which doesn't sound ideal either?
>
i think it would be better to start a new thread for discussion
optimization - its getting too deep in here :)
More information about the Digitalmars-d-announce
mailing list