We currently have (at least) two different implementations of a heap: - `k_smallest_general` in `k_smallest.rs` - in `kmerge_impl.rs` We should extract the heap stuff into an own module and use it in both places. (`sift_down` in `k_smallest.rs` looks a bit cleaner to me.)
Activity