Skip to content

UPSTREAM PR #2030: docs: clarify rehash guarantees for reserve() in Swiss Tables#15

Open
loci-dev wants to merge 1 commit intomainfrom
loci/pr-2030-docs-swiss-table-reserve
Open

UPSTREAM PR #2030: docs: clarify rehash guarantees for reserve() in Swiss Tables#15
loci-dev wants to merge 1 commit intomainfrom
loci/pr-2030-docs-swiss-table-reserve

Conversation

@loci-dev
Copy link
Copy Markdown

@loci-dev loci-dev commented Apr 2, 2026

Note

Source pull request: abseil/abseil-cpp#2030

Updates the documentation for flat_hash_set and flat_hash_map reserve() functions to explicitly state that erased elements may still occupy capacity due to probing requirements, and that interleaving insertions and erasures may trigger a compacting rehash.

Fixes #906

Updates the documentation for flat_hash_set and flat_hash_map reserve() functions to explicitly state that erased elements may still occupy capacity due to probing requirements, and that interleaving insertions and erasures may trigger a compacting rehash.

Fixes #906
@loci-dev loci-dev force-pushed the main branch 4 times, most recently from d969ff5 to d0f6a31 Compare April 9, 2026 06:01
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.

2 participants