Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Dec 20, 2020

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Dec 20, 2020
@pull pull bot added the merge-conflict Resolve conflicts manually label Mar 15, 2021
stepancheg and others added 28 commits April 15, 2022 23:22
Documentation assertion in erase_index function
Add dynamically-sized slices of maps and sets
Use first-class patterns for split_first/last
This moves the position of a key-value pair from one index to another by
shifting all other pairs in-between, making this an O(n) operation.

This could be used as a building-block for other operations, like #173
which wants to insert at a particular index. You can `insert_full` to
insert it _somewhere_, then choose whether to `move_index` depending on
whether you want to also change pre-existing entries.
Add move_index to change the position of an entry
Remove internal patterns in `indexmap!` and `indexset!`
The PR changing hashbrown's `rust-version` from 1.56.1 to 1.56.0 has
been merged to master but not made it into a hashbrown release yet.
(cherry picked from commit 3f6cdde)
cuviper and others added 28 commits September 27, 2024 20:57
Add an explicit bounds check in `move_index`
Use `hashbrown::HashTable` instead of `RawTable`
Use rayon-1.9.0's `collect_vec_list`
Add `{Entry,VacantEntry}::insert_entry`
Mention cyclic dependency in main rustdocs
Remove fxhash example as fxhash is not maintained.
In `core::RefMut::insert_unique`, used by `insert_entry` and others, we
were calling `reserve_entries` *before* the table insert, which defeats
the goal of matching capacities. We can't directly call that after table
insert though, because we'll be holding an `OccupiedEntry` that prevents
looking at the table itself. Instead, this code path now uses a more
typical doubling growth on the entries `Vec` itself, but still enhanced
by considering `MAX_ENTRIES_CAPACITY` as well.
remove fxhash example and dep
Improve panic messages and add `#[track_caller]` attribute to functions that may panic
Improve memory reservation for `insert_entry`
Upgrade dev-dependency `itertools` to 0.14
ci: use cargo-nextest with miri
@cuviper cuviper deleted the branch mesalock-linux:master January 22, 2025 01:46
@cuviper cuviper deleted the master branch January 22, 2025 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⤵️ pull merge-conflict Resolve conflicts manually

Projects

None yet

Development

Successfully merging this pull request may close these issues.