A Refcounted Array Type
via Digitalmars-d
digitalmars-d at puremagic.com
Thu Feb 26 13:02:22 PST 2015
On Thursday, 26 February 2015 at 18:04:11 UTC, Steven
Schveighoffer wrote:
> I think possibly a better solution is to have a "finalize"
> function, similar to how tango does it, so the dtor is only
> called from destroy/delete, and the finalize method is called
> from the GC.
Ugh, so you still have to identify objects before releasing the
memory?
Put all objects that need cleanup on a separate GC heap then, to
reduce impact.
More information about the Digitalmars-d
mailing list