xxh3
xxHash
xxh3 | xxHash | |
---|---|---|
3 | 2 | |
406 | 58 | |
- | - | |
2.7 | 10.0 | |
over 1 year ago | about 4 years ago | |
Go | Go | |
BSD 2-clause "Simplified" License | BSD 3-clause "New" or "Revised" License |
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().
xxHash
-
SIMD in Go
You can find a pure go unparallelized version here : https://github.com/pierrec/xxHash
-
HaxMap, a concurrent hashmap faster and more memory-efficient than golang's sync.Map
I shall add a 32 bit variant of haxmap too in the near future using this 32 bit variant of xxHash https://github.com/pierrec/xxHash/tree/master/xxHash32
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.
sonic - A blazingly fast JSON serializing & deserializing library
highwayhash - Native Go version of HighwayHash with optimized assembly implementations on Intel and ARM. Able to process over 10 GB/sec on a single core on Intel CPUs - https://en.wikipedia.org/wiki/HighwayHash
hashmap - A Golang lock-free thread-safe HashMap optimized for fastest read access.
go-highway - Go implementation of Google's HighwayHash
haxmap - Fastest and most memory efficient golang concurrent hashmap
xxhash - A Go implementation of the 64-bit xxHash algorithm (XXH64)
intrinsics - Experiment with Go intrinsics (NOT USABLE)
go-simd - SIMD implementation in Go
BLAKE3 - the official Rust and C implementations of the BLAKE3 cryptographic hash function
avo - Generate x86 Assembly with Go