Open
Conversation
af899bb to
fa47439
Compare
fa47439 to
483a578
Compare
483a578 to
20a50f9
Compare
20a50f9 to
1d04d18
Compare
1d04d18 to
c414537
Compare
c414537 to
16c0b47
Compare
16c0b47 to
e3612e1
Compare
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
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.
This PR contains the following updates:
0.3.11→0.3.17Release Notes
oxidecomputer/iddqd (iddqd)
v0.3.17Compare Source
Added
reserve(&mut self, additional: usize)reserves capacity for at leastadditionalmore elements.shrink_to_fit(&mut self)shrinks capacity to fit the current length.shrink_to(&mut self, min_capacity: usize)shrinks capacity to at leastmin_capacity.try_reserve(&mut self, additional: usize) -> Result<(), TryReserveError>: fallible capacity reservation for hash maps (IdHashMap,BiHashMap,TriHashMap).TryReserveErrortype in theerrorsmodule for reporting allocation failures.Notes
IdOrdMap, the reserve and shrink methods only affect item storage. The internalBTreeSetused for item ordering does not support capacity control.IdOrdMapdoes not providetry_reserve, since the underlyingBTreeSetdoes not expose fallible reservation operations.Fixed
retain.Changed
The
Extendimplementations now pre-reserve capacity based on the iterator'ssize_hint.v0.3.16Compare Source
Added
clearmethods for all map types to remove all items from the map.IdHashMapAsMap,BiHashMapAsMap,TriHashMapAsMap, andIdOrdMapAsMapmarker types to use with#[serde(with = ...)].Changed
v0.3.15Compare Source
Added
retainmethods that allow filtering items in place based on a predicate.IdOrdMap::first,first_entry,last,last_entry,pop_first, andpop_lastmethods for accessing entries at the beginning and end of the map.BiHashMap::with_hasherandTriHashMap::with_hasherare nowconst fn.Changed
BiHashMapandTriHashMap.v0.3.14Compare Source
Fixed
Replaced obsolete
doc_auto_cfgwithdoc_cfg, to fix Rust nightly builds with thedoc_cfgflag enabled.v0.3.13Compare Source
Changed
serde_corerather thanserde. This allows iddqd's compilation to be parallelized withserde_derive.foldhashupdated to 0.2, andhashbrownupdated to 0.16.v0.3.12Compare Source
Added
The following methods are now
const fn:IdOrdMap::newIdHashMap::with_hasherConfiguration
📅 Schedule: (in timezone America/Los_Angeles)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.