Closed dwarring closed 3 years ago
Needs a simple refactor to only visit heck nodes at this point.
It was actually under-checking after 286a717 - fortunately pick up when running tests through valigrind.
We do need to examine sibling nodes, but just once at the top level. Refixed with eed1ec1.
The basic strategy to work out if a sub tree is referenced is to find the root then check if any nods in the tree can be referenced, What this function is actually doing is:
So its revisiting peers that have already been referenced check by its parents.