Commit 3b136f1
committed
Use the bucket API from hashbrown v0.16.1
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.1 parent 36c5486 commit 3b136f1
File tree
6 files changed
+326
-422
lines changed- src
- map
- core
6 files changed
+326
-422
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
760 | 760 | | |
761 | 761 | | |
762 | 762 | | |
763 | | - | |
| 763 | + | |
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| |||
1564 | 1564 | | |
1565 | 1565 | | |
1566 | 1566 | | |
1567 | | - | |
1568 | | - | |
1569 | | - | |
1570 | | - | |
| 1567 | + | |
1571 | 1568 | | |
1572 | 1569 | | |
1573 | 1570 | | |
| |||
0 commit comments