-
Notifications
You must be signed in to change notification settings - Fork 6
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
please expose resize #13
Comments
Thanks @rr0gi Will check today |
hello, @rr0gi please check this commit |
I think it should also check if new_size is bigger than current allocated (smaller than current size is ok to allow to shrink unused buckets, but smaller than number of allocated items is unlikely something that anybody may want) |
(btw thanks to the added comment I noticed that capacity is |
Agree, thanks |
to be able to reserve buckets when number of elements is known in advance before insertion
The text was updated successfully, but these errors were encountered: