Tynuk

Results 9 comments of Tynuk

> Just a high-level observation: having toDigest return a range would avoid the gc allocation. I don't get you It already does not contains GC allocation for static arrays

> > I don't get you > > The first overload allocates with the gcc. My point was that `toDigestImpl` may return a range that lazily computes the bytes when...

Not sure but Unshared could be added to std.traits?

> What's the goal here ? parse version in command init f.e. dub init -t [email protected]

@atilaneves i updated PR now it contains only generator

> > As I understood Phobos does not contain any functions for converting text strings to byte array > > hexString - template(not usable in runtime parse, to - cannot...

> Where does this sit now with compiler support for casting to arrays? > > https://dlang.org/changelog/pending.html#dmd.hexstring-cast > > I think it was always possible to cast them to a byte...

> Why isn't the implementation in this PR the one using chunk in the forum, then? I thought @nogc solution will be better, but now i m not sure Have...

> Unless I'm missing something, the only thing that isn't `@nogc` in the solution in the forum is `.array`. Leave that out, and there's the implementation. Users can call `.array`...