bearophile, el 1 de octubre a las 12:39 me escribiste: > 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.
Sure, the point was: this is not a problem inherently to the D GC, it's just a bug in a particular (version of the) compiler you are testing. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Si pudiera acercarme un poco más, hacia vos Te diría que me tiemblan los dos pies, cuando me mirás Si supieras todo lo que me costó, llegar Hoy sabrías que me cuesta respirar, cuando me mirás
