4 Commits

Author SHA1 Message Date
Thomas Gardner
a787d6a964
Update clippy restrictions
type: changed
2020-10-10 16:41:12 -07:00
Casey Rodarmor
dbb0eac96d
Update clippy lint names
type: changed
2020-09-06 14:26:19 -07:00
Casey Rodarmor
4e6b475470
Benchmark and improve hashing performance
- Add a `bench` feature that exposes a hasher benchmark.

- Make the hasher read up to the next piece end and hash everything it
  reads, instead of hashing one byte at a time. This was a 4x
  improvement on the benchmark. (Terrible code == easy wins!)

type: performance
2020-05-26 00:15:09 -07:00
Casey Rodarmor
1b2d79b4a5
Split crate into a binary and a library
Split imdl into a binary, `src/main.rs`, and a library, `src/lib.rs`.

This will enable benchmarking, fuzz testing, and anything that requires
making `imdl` functions accessible another crate.

type: reform
2020-05-25 21:46:20 -07:00