ex_merge_sort_by_key

Crates.ioex_merge_sort_by_key
lib.rsex_merge_sort_by_key
version0.2.0
sourcesrc
created_at2021-08-22 06:36:15.087016
updated_at2021-08-26 04:42:48.553427
descriptionRust external merge sort library
homepage
repositoryhttps://github.com/winebarrel/ex_merge_sort_by_key
max_upload_size
id440560
size27,384
Genki Sugawara (winebarrel)

documentation

https://docs.rs/ex_merge_sort_by_key/

README

ex_merge_sort_by_key

Rust external merge sort library using sort_by_cached_key.

GitHub Build Status crates.io docs.rs

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

Commit count: 15

cargo fmt