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

Implement reserve and shrink_to_fit #13

Closed
wants to merge 1 commit into from

Conversation

Popog
Copy link

@Popog Popog commented Feb 13, 2017

Repurposed double_capacity to change_capacity.

Also added a .gitignore

Repurposed double_capacity to change_capacity.
@bluss bluss self-assigned this Feb 13, 2017
@Amanieu
Copy link

Amanieu commented Apr 29, 2018

Any update on this? I would like to use shrink_to_fit after I am done building a map to reduce its memory usage. The map is very large (>1M entries) is used for the entire lifetime of the program.

@cuviper
Copy link
Member

cuviper commented Jul 18, 2020

#131 implemented the same in the switch to hashbrown.

@cuviper cuviper closed this Jul 18, 2020
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.

4 participants