Official compiler
David Nadlinger via Digitalmars-d
digitalmars-d at puremagic.com
Fri Feb 26 07:38:10 PST 2016
On Thursday, 25 February 2016 at 23:06:43 UTC, H. S. Teoh wrote:
> Are there any low-hanging fruit left that could make dmd faster?
A big one would be overhauling the template mangling scheme so it
does not generate mangled names a few hundred kilo (!) bytes in
size anymore for code that uses templates and voldemort types.
For an example, see
http://forum.dlang.org/post/n96k3g$ka5$1@digitalmars.com,
although the problem can get much worse in big code bases. I've
seen just the handling of the mangle strings (generation, ...)
making up a significant part of the time profile.
— David
More information about the Digitalmars-d
mailing list