I don't think this is actually fixed. KnownGraph.heads() is better than N^2, but does so at a cost of loading the whole graph. Graph.heads() is still O(N^2) I believe.
And there are still a fair number of places that use Graph and Graph.heads() rather than KG.
I don't think this is actually fixed. KnownGraph.heads() is better than N^2, but does so at a cost of loading the whole graph. Graph.heads() is still O(N^2) I believe.
And there are still a fair number of places that use Graph and Graph.heads() rather than KG.