xxh3
highwayhash
xxh3 | highwayhash | |
---|---|---|
3 | 2 | |
406 | 899 | |
- | 1.7% | |
2.7 | 4.9 | |
over 1 year ago | 22 days ago | |
Go | Go | |
BSD 2-clause "Simplified" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xxh3
-
SIMD in Go
Not sure what you are thinking about with regard to parallel. Maybe you are thinking of xxhash 3. Both operate so close to memory speed that doing parallel blocks and merging them will probably always be slower.
-
Can I concatenate multiple non-crypto hash functions to reduce collision?
xxhash3 can supply hashes up to 128 bits and supports seeds and has pretty good speed on short inputs.
-
Fastest way to encode []int8 to bytes hash ?
If you can live with 16 bytes output and non cryptographic quality xxhash 3 you can use Hash128(values).Bytes().
highwayhash
-
Can I concatenate multiple non-crypto hash functions to reduce collision?
highwayhash (alt) provides 256 bits. Fast mainly for larger inputs and supports seeds.
-
Fastest way to encode []int8 to bytes hash ?
HighwayHash can produce 256 bit output, if you really need a hash that long.
What are some alternatives?
sha256-simd - Accelerate SHA256 computations in pure Go using AVX512, SHA Extensions for x86 and ARM64 for ARM. On AVX512 it provides an up to 8x improvement (over 3 GB/s per core). SHA Extensions give a performance boost of close to 4x over native.
c2goasm - C to Go Assembly
go-highway - Go implementation of Google's HighwayHash
xxhash - A Go implementation of the 64-bit xxHash algorithm (XXH64)
SimSIMD - Up to 200x Faster Dot Products & Similarity Metrics — for Python, Rust, C, JS, and Swift, supporting f64, f32, f16 real & complex, i8, and bit vectors using SIMD for both AVX2, AVX-512, NEON, SVE, & SVE2 📐
intrinsics - Experiment with Go intrinsics (NOT USABLE)
xdg-go - Go implementation of the XDG Base Directory Specification and XDG user directories
xxHash - Pure Go implementation of xxHash (32 and 64 bits versions)
BLAKE3 - the official Rust and C implementations of the BLAKE3 cryptographic hash function
go-simd - SIMD implementation in Go