3 unstable releases
0.2.0 | Aug 26, 2021 |
---|---|
0.1.1 | Aug 22, 2021 |
0.1.0 | Aug 22, 2021 |
#84 in #merge
21 downloads per month
26KB
814 lines
ex_merge_sort_by_key
Rust external merge sort library using sort_by_cached_key.
Usage
[dependencies]
ex_merge_sort_by_key = "0.1"
use std::fs::File;
use std::io;
fn main() {
let f = File::open("README.md").unwrap();
let capacity = 1024;
ex_merge_sort_by_key::sort_by_key(f, io::stdout(), capacity, |line| line.len()).unwrap();
}
Related Links
Dependencies
~1.6–10MB
~114K SLoC