Function reduce_runs

Source
pub fn reduce_runs<T: Item>(runs: Vec<SortedRun<T>>) -> Vec<T>
Expand description

Finds a set of files with minimum penalty to merge that can reduce the total num of runs. The penalty of merging is defined as the size of all overlapping files between two runs.