GC vs Resource management.

via Digitalmars-d digitalmars-d at puremagic.com
Sat May 3 08:20:30 PDT 2014


On Saturday, 3 May 2014 at 15:10:43 UTC, Paulo Pinto wrote:
> Easy, you already know that you don't need the node, just call 
> the dispose method, instead of marking for release.

But you don't know unless you use RC or GC. Let's say you make a 
jungle. Lots of pointers to the tree root node. And you also 
don't want to wait with collection if you hold onto hardware 
resources (forcing perhaps lower resolution graphics if you are 
low on GPU resources).


More information about the Digitalmars-d mailing list