gods
gods copied to clipboard
Does it make sense to add goroutine / thread safe data structures for all the existing data structures?
For example concurrenthashset.go
, concurrentpriorityqueue.go
?
- Those who want performance above everything or don't have a use case can very well use the existing data structures
- Those who want to use these data structures in production will require concurrent data structures
Please let me know if this is a valid use case for majority of the people who are using this library in production, I am willing to contribute.
Related issue(s) : #68
Initially I intended to keep thread-safety and concurrency outside of this repo, but nowadays I think it makes sense to start introducing those structures