Format byte sizes into more humanly readable values
This program was inspired by a post by Chris Siebenmann. I wondered if there was an equivalent (and easy) way to perform the functions of his Python script in Rust.
There is! This is one possible solution:
cargo run --release --example bench < samples/test.txt