Skip to content

Conversation

@cuviper
Copy link
Member

@cuviper cuviper commented Nov 20, 2025

This is similar to indexmap-rs/indexmap#424, simplify a lot of code by
using a bucket index in OccupiedEntry rather than having to split
references. The effects are a little more pronounced here because our
RefMut needed 3 references, due to the extra offset tracking, so
with that gone, now every *Entry type is reduced in size.

This is similar to indexmap-rs/indexmap#424, simplify a lot of code by
using a bucket index in `OccupiedEntry` rather than having to split
references. The effects are a little more pronounced here because our
`RefMut` needed **3** references, due to the extra offset tracking, so
with that gone, now *every* `*Entry` type is reduced in size.
@cuviper cuviper enabled auto-merge November 20, 2025 18:15
@cuviper cuviper added this pull request to the merge queue Nov 20, 2025
Merged via the queue into indexmap-rs:main with commit 6046c4e Nov 20, 2025
16 checks passed
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