Increase tree statistic performance

Fixes #44
This commit is contained in:
Thomas Nordquist
2019-01-22 14:04:49 +01:00
parent c2345a17ba
commit bcd5a32483
3 changed files with 23 additions and 14 deletions

View File

@@ -13,7 +13,7 @@ export class Edge implements Hashable {
}
public edges() {
return this.target ? Object.values(this.target.edges) : []
return this.target ? this.target.edgeArray : []
}
public hash(): string {