Skip to content

Re-introduce a way to get the allocation size of a table #553

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

Amanieu
Copy link
Member

@Amanieu Amanieu commented Sep 12, 2024

This was previously removed from RawTable in #546. This is now added as a public API on HashMap, HashSet and HashTable.

Fixes #238
Fixes #506

This was previously removed from `RawTable` in rust-lang#546. This is now added
as a public API on `HashMap`, `HashSet` and `HashTable`.
@Amanieu
Copy link
Member Author

Amanieu commented Sep 18, 2024

@bors r+

@bors
Copy link
Contributor

bors commented Sep 18, 2024

📌 Commit 1089b93 has been approved by Amanieu

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 18, 2024

⌛ Testing commit 1089b93 with merge 3b350d7...

@bors
Copy link
Contributor

bors commented Sep 18, 2024

☀️ Test successful - checks-actions
Approved by: Amanieu
Pushing 3b350d7 to master...

@bors bors merged commit 3b350d7 into rust-lang:master Sep 18, 2024
24 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to calculate the size of the hashbrown::HashMap at runtime? Estimating hashmap occupied size
3 participants