[Issue 20887] New: Improve speed of std.digest.digest!(Hash, Range) on non-array ranges
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 31 00:57:00 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20887
Issue ID: 20887
Summary: Improve speed of std.digest.digest!(Hash, Range) on
non-array ranges
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: n8sh.secondary at hotmail.com
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.
--
More information about the Digitalmars-d-bugs
mailing list