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

feat: add try_reserve method #221

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

tomkarw
Copy link
Contributor

@tomkarw tomkarw commented Jul 17, 2022

Closes #170.

Add DashMap::try_reserve method that tries to allocate additional space in each of the shards, erring if any of the shards underlying hashbrown::HashMap::try_reserve calls errors.

@xacrimon xacrimon merged commit 0306710 into xacrimon:master Aug 30, 2022
@tomkarw tomkarw deleted the feat-add-try_reserve-method branch August 31, 2022 15:58
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

Successfully merging this pull request may close these issues.

Feature request: fallible allocations
2 participants