coreutils/src/uu/sum
Owen Anderson 8bdee49cdd
Speed up sum by using reasonable read buffer sizes. (#3741)
* Speed up sum by using reasonable read buffer sizes.

Use a 4K read buffer for each of the checksum functions, which seems
reasonable. This improves the performance of BSD checksums on
odyssey1024.txt from 399ms to 325ms on my laptop, and of SysV
checksums from 242ms to 67ms.

* Add BENCHMARKING.md for `sum`.

* Add comment regarding block sizes.

* Improve portability of BENCHMARKING.md

* Make `div_ceil` const and enhance comment.
2022-07-28 14:38:09 +02:00
..
src Speed up sum by using reasonable read buffer sizes. (#3741) 2022-07-28 14:38:09 +02:00
BENCHMARKING.md Speed up sum by using reasonable read buffer sizes. (#3741) 2022-07-28 14:38:09 +02:00
Cargo.toml Version 0.0.14 (#3553) 2022-05-22 19:57:19 +02:00
LICENSE Include license text in all published crates 2022-03-05 21:21:46 +01:00