Skip to content

Commit

Permalink
even moar wordsmithy
Browse files Browse the repository at this point in the history
  • Loading branch information
jar-o committed Feb 6, 2018
1 parent 2434364 commit 5d781ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ func (f ByLargest) Swap(i, j int) { f[i], f[j] = f[j], f[i] }
func (f ByLargest) Less(i, j int) bool { return f[i].Size > f[j].Size }

/*
'savings' a guesstimate about the expected space saving. E.g. you may expect
an average 10% space savings for the corpus you're processing. In that case,
set it to 0.10. If you're unsure, or if you have a wide variety of file types,
just leave it at 0.
'savings' is a guesstimate about the expected space saving. E.g. you may
expect an average 10% space savings for the corpus you're processing. In
that case, set it to 0.10. If you're unsure, or if you have a wide variety
of file types, just leave it at 0.
*/
func groupBySize(files []FileSize, maxSize int64, savings float64) ([][]string, error) {
var ret [][]string
Expand Down

0 comments on commit 5d781ae

Please sign in to comment.