Skip to content
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

HashSet support #24

Open
segeljakt opened this issue Dec 22, 2022 · 1 comment
Open

HashSet support #24

segeljakt opened this issue Dec 22, 2022 · 1 comment

Comments

@segeljakt
Copy link

segeljakt commented Dec 22, 2022

Subject of the feature

It would be nice to have a halfbrown::HashSet<K> that works well for a small number of keys.

It could be implemented as:

struct HashSet<K>(halfbrown::HashMap<K, ()>);
@Licenser
Copy link
Owner

That sounds cool :D I think it's not too complicated I'll put it on the TODO list but I don't know when I'll get to that, but if you want to make a PR I'll happily merge it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants