haxmap
go-blocking-dequeue
Our great sponsors
haxmap | go-blocking-dequeue | |
---|---|---|
7 | 1 | |
831 | 7 | |
- | - | |
3.3 | 3.6 | |
about 1 month ago | almost 2 years ago | |
Go | Go | |
MIT License | MIT 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.
haxmap
-
hash/maphash is slow
It depends on the architecture like amd64 it’s naturally fast but for amd and the rest is kinda of slow because Go uses AES hashing algorithm upcoming they’re planning to change the hashing alg either xxhash or swisstable I recommend you use 3rd party maphash like https://github.com/alphadose/haxmap or any
-
HaxMap v0.2.0 released, huge performance improvements and added support for 32-bit systems
This issue has been fixed with https://github.com/alphadose/haxmap/releases/tag/v0.3.0
- The fastest and most-memory efficient concurrent hashmap in Golang
-
HaxMap, a concurrent hashmap faster and more memory-efficient than golang's sync.Map
This behaviour is now fixed with https://github.com/alphadose/haxmap/commit/bc3b9a6adfc4600fd948124f5d9b74139dfe6d39
go-blocking-dequeue
-
I created a thread-safe, blocking, infinite dequeue go package. Feedback is appreciated
Package link: github.com/AmrSaber/go-blocking-dequeue
What are some alternatives?
hashmap - A Golang lock-free thread-safe HashMap optimized for fastest read access.
queue - ⏪️ Go package providing multiple queue implementations. Developed in a thread-safe generic way.
sonic - A blazingly fast JSON serializing & deserializing library
lane - Generic PriorityQueues, Queues, Stacks, and Deque data structures for Go
goqueue - Flexible Queue System for Go
deque - Package deque implements a very fast and efficient general purpose queue/stack/deque data structure that is specifically optimized to perform when used by Microservices and Serverless services running in production environments. https://godoc.org/github.com/ef-ds/deque
xxHash - Pure Go implementation of xxHash (32 and 64 bits versions)
ZenQ - A thread-safe queue faster and more resource efficient than golang's native channels
gods - GoDS (Go Data Structures) - Sets, Lists, Stacks, Maps, Trees, Queues, and much more
go-evmap - A Go implementation of Rust's evmap which optimizes for high-read, low-write workloads and uses eventual consistency to ensure that readers and writers never block each other.
go - The Go programming language