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

Upgrade hashbrown to 0.15.0 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

utay
Copy link

@utay utay commented Oct 18, 2024

https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md

Some performance improvements. Also in 0.15.0 there's this allocation_size method that returns the total amount of memory allocated in bytes; I think the SizeOf implementation is still useful because allocation_size is implemented only under certain conditions:

impl<K, V, S, A> HashMap<K, V, S, A>
where
    K: Eq + Hash,
    S: BuildHasher,
    A: Allocator,
{
...

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.

1 participant