Speed up `std.digest.digest!(Hash, Range)` on non-array ranges by chunking the data. I would have liked to use something like `std.stdio.File.byChunk(ubyte[])` but I didn't find anything equivalent. `std.algorithm.iteration.chunkBy` doesn't work for this purpose.
@n8sh created dlang/phobos pull request #7509 "Improve speed of std.digest.digest!(Hash, Range) on non-array ranges" fixing this issue: - Fix Issue 20887 - Improve speed of std.digest.digest!(Hash, Range) on non-array ranges https://github.com/dlang/phobos/pull/7509
dlang/phobos pull request #7509 "Improve speed of std.digest.digest!(Hash, Range) on non-array ranges" was merged into master: - 18f2e6f042efa2e957ed06752f81a09dc4e95139 by Nathan Sashihara: Fix Issue 20887 - Improve speed of std.digest.digest!(Hash, Range) on non-array ranges https://github.com/dlang/phobos/pull/7509