Leandro Lucarella:

> I've tested it with LDC (using classes instead of structs, because D1
> doesn't support struct constructors) and it works with a perfectly stable
> memory usage.

That's a different situation, the compiler is different, the data structure is 
different, and the runtime too may be a little different.
I have tested with LDC with both structs and classes and the two programs don't 
leak.

Bye,
bearophile

Reply via email to