wvwwvwwv / scalable-concurrent-containers

High performance containers and utilities for concurrent and asynchronous programming
Apache License 2.0
306 stars 15 forks source link

HashSet implementation #58

Closed rsdy closed 2 years ago

rsdy commented 2 years ago

In a trivial case, this should be possible with a HashMap<K, ()> wrapper, which is what I'm doing right now. A nicer API would be handy for this case, though.

wvwwvwwv commented 2 years ago

Thanks for the suggestion, I'll implement it soon.

wvwwvwwv commented 2 years ago

HashSet added, but almost identical to HashMap without a new method added. Please open another issue if you have a nice idea on the API set of HashSet.