Remove useless sort

The data coming in is already sorted. We should not need to sort it a
second time
This commit is contained in:
andy.boot
2019-12-23 15:49:26 +00:00
parent b934445e04
commit ef66fb3938
-1
View File
@@ -133,7 +133,6 @@ fn build_tree(biggest_ones: Vec<(String, u64)>, depth: Option<u64>) -> Node {
children: Vec::default(),
};
recursively_build_tree(&mut top_parent, n, depth);
top_parent.children.sort_unstable()
}
top_parent
}