On 27 June 2013 21:07, Igor Stasenko <[email protected]> wrote: > > yes, but in opposite direction. > consider yourself a painter which start painting nodes , starting from > root ones, > then paint ones which they pointing to, then paint ones which those > was pointing to (unless they already painted) > and so on.. continue until you have nothing to paint left. > Then the nodes which remain unpainted is garbage. >
How is this implemented? There is a flag on each object to mark it as 'painted'? -- Milan Mimica http://sparklet.sf.net
