graph/network: remove nilling of temporary local
This is no longer necessary to hint to the GC that it can free the map.
MODIFY
graph/network/hits.go
graph/network/hits.go
@@ -40,7 +40,6 @@ func HITS(g graph.Directed, tol float64) map[int64]HubAuthority {
nodesLinkedFrom[i] = append(nodesLinkedFrom[i], indexOf[v.ID()])
}
}
- indexOf = nil
w := make([]float64, 4*len(nodes))
auth := w[:len(nodes)]

graph/network: remove nilling of temporary local

This is no longer necessary to hint to the GC that it can free the map.