forked from indexmap-rs/indexmap
-
Notifications
You must be signed in to change notification settings - Fork 2
[pull] master from bluss:master #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pull
wants to merge
345
commits into
mesalock-linux:master
Choose a base branch
from
indexmap-rs:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Update rustc-rayon to 0.4
Remove internal patterns in `indexmap!` and `indexset!`
This reverts commit 8a571c6.
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.
Allow compiling on 1.56.0
(cherry picked from commit 3f6cdde)
Add an explicit bounds check in `move_index`
Use `hashbrown::HashTable` instead of `RawTable`
Release 2.6.0
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`
Release 2.7.1
Upgrade dev-dependency `itertools` to 0.14
ci: use cargo-nextest with miri
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )