About compiler memory consumption

Dicebot public at dicebot.lv
Wed Dec 4 10:22:45 PST 2013


On Wednesday, 4 December 2013 at 18:20:36 UTC, H. S. Teoh wrote:
> I'm pretty sure there's a lot of room for optimization in dmd 
> when it
> comes to handling templates. If only I had the time to dig into 
> the dmd
> source code...

I have wasted ~3 months on digging this with no success. And when 
Walter has finally paid attention to this issue and changed 
template instance emitting algorithm, I still was hardly able to 
understand why exactly the changes in pull were necessary to get 
that result.

Just be warned ;)


More information about the Digitalmars-d-learn mailing list