New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thread Safe Set implementation #564
Comments
As a quick dirty solution you could use the Concurrent::Hash's keys as set, inserting always true for values. If you look at stdlib's Set it does the same. We look into adding Set for convenience later. |
Is there a reason not to save the memory for the values? |
Not really, it's just that nobody wrote the Set implementation yet. |
@thedrow Thank you very much for the suggestion!
I'd be happy to look at a PR which adds this feature to Edge. Unfortunately none of the core maintainers are available to work on this right now. Our top priorities are bugs and the upcoming 2.0 effort. Once 2.0 is complete we can revisit the idea. In the mean time I'm going to pause this issue and leave it open. |
Done in #666 |
Currently there is no Thread Safe set implementation in this library and I found a need for it.
What would it take to add one?
The text was updated successfully, but these errors were encountered: