rust-lang / hashbrown

Rust port of Google's SwissTable hash map
https://rust-lang.github.io/hashbrown
Apache License 2.0
2.46k stars 288 forks source link

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

Closed Amanieu closed 2 months ago

Amanieu commented 2 months ago

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

Amanieu commented 2 months ago

@bors r+

bors commented 2 months ago

:pushpin: Commit 1089b93a8e9ba360f7e6ef8d212f5bd923329c20 has been approved by Amanieu

It is now in the queue for this repository.

bors commented 2 months ago

:hourglass: Testing commit 1089b93a8e9ba360f7e6ef8d212f5bd923329c20 with merge 3b350d76854e412673e3a5c54304b41605c2161e...

bors commented 2 months ago

:sunny: Test successful - checks-actions Approved by: Amanieu Pushing 3b350d76854e412673e3a5c54304b41605c2161e to master...