[Vm-dev] Detecting objects that point to an object
Mariano Martinez Peck
marianopeck at gmail.com
Thu Jul 22 09:19:52 UTC 2010
> Thanks for the answers. Maybe I should have explained why I needed that.
> What I had in mind, is to be able to detect subgraphs. But not any kind of
> subgraphs, but only those on which ALL objects are ONLY reachable from the
> root of the subgraph. This means, that there are no objects outside the
> graph, pointing to objects inside the graph. In ImageSegment word, would
> mean to detect subgraphs that don't have outPointers.
> So why not simply use an ImageSegment? IIRC that's how Croquet islands are
> checked for closedness.
Bert, the idea as Stef said is to use ImageSegment, but just to write
subgraphs to disk, but not to DETECT them. For ImageSegment you need to give
it a graph. But what I want is to identify all these good subgraphs in the
whole memory. ImageSegment does a mark and sweep in the whole image just to
detect the oputPointers...imagine if I do this for every single object in
the image ;)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev