chore(server): Remove outdated TODO

Real-life experience has shown that the weighting of the metric
produced here is appropriate.
This commit is contained in:
Vincent Ambo 2019-10-28 22:39:12 +01:00 committed by Vincent Ambo
parent 904c3dade0
commit 2d4a3ea307

View file

@ -300,11 +300,7 @@ func groupLayer(dt *flow.DominatorTree, root *closure) Layer {
sort.Strings(contents) sort.Strings(contents)
return Layer{ return Layer{
Contents: contents, Contents: contents,
// TODO(tazjin): The point of this is to factor in
// both the size and the popularity when making merge
// decisions, but there might be a smarter way to do
// it than a plain multiplication.
MergeRating: uint64(root.Popularity) * size, MergeRating: uint64(root.Popularity) * size,
} }
} }