Page 3 of 3

Re: Add BLAKE2 to checksum methods

Posted: 2024-03-19, 07:54 UTC
by ghisler(Author)
I'm using the C code from their Github. It's well optimized with support for SSE, AVX2 etc. Although there seems to be a way to create DLLs with Rust, their code doesn't support it, so I would have to learn Rust first and then modify their code to get it working. There is no guarantee that it would be faster, the disk reading speed is probably the limiting factor.

Re: Add BLAKE2 to checksum methods

Posted: 2024-03-19, 08:42 UTC
by lelik007
Thank you for the answer. I know it's difficult to compile because multithreaded code is in Rust only and the official multithreaded ะก code doesn't exist.
But it's the fastest hash fuction for now in TC with all SIMD optimizations applied and I can't ask for more.
There is no guarantee that it would be faster, the disk reading speed is probably the limiting factor.
There will be a difference for a disk cache read or a RAM disk. But the thing is - I've never meet compiled Rust code in any software I've seen.
So there are not better BLAKE3 implementations yet.