[dmd-internals] Memory Leak

Walter Bright walter at digitalmars.com
Wed Nov 14 01:14:12 PST 2012


On 11/14/2012 1:03 AM, Don Clugston wrote:
>
> At least, the ones created by const-folding are short-lived, and there
> is rather a lot of them. This is extreme for CTFE, which is why CTFE
> leaks so much memory.
> Though actually I want to stop CTFE from creating mountains of garbage
> in the first place.
> I don't know how much of the total garbage is from const folding though.
>

What do you think of the feasibility of just having CTFE use reference counting?


More information about the dmd-internals mailing list