Skip to content

Upgrade hashbrown to 0.15.0#5

Open
utay wants to merge 1 commit intoKixiron:masterfrom
utay:bump-hashbrown
Open

Upgrade hashbrown to 0.15.0#5
utay wants to merge 1 commit intoKixiron:masterfrom
utay:bump-hashbrown

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