Releases: rust-lang/hashbrown
Releases · rust-lang/hashbrown
v0.16.1
Added
- Added
HashTablemethods related to the raw bucket index (#657) - Added
VacantEntryRef::insert_with_key(#579)
Changed
- Removed specialization for
Copytypes (#662) - The
get_many_mutfamily of methods have been renamed toget_disjoint_mut
to match the standard library. The old names are still present for now, but
deprecated. (#648) - Recognize and use over-sized allocations when using custom allocators. (#523)
- Depend on
serde_coreinstead ofserde. (#649) - Optimized
collecton rayon parallel iterators. (#652)
v0.16.0
Changed
- Bump foldhash, the default hasher, to 0.2.0.
- Replaced
DefaultHashBuilderwith a newtype wrapper aroundfoldhashinstead of re-exporting it directly.
v0.15.5
Added
- Added
Entry::or_default_entryandEntry::or_insert_entry.
Changed
- Re-implemented likely/unlikely with
#[cold]
v0.15.4
Changed
- Removed optional dependency on compiler-builtins. This only affects building as part of
std.
v0.15.3
Added
- SIMD implementation for LoongArch (#592, requires nightly)
Changed
- Optimized insertion path by avoiding an unnecessary
match_empty(#607) - Increased minimum table size for small types (#615)
- Dropped FnMut trait bounds from
ExtractIfdata structures (#616) - Relaxed constraint in
hash_map::EntryRefinsertion methodsK: From<&Q>to &Q:Into<K>(#611) - Added allocator template argument for
rustc_iter(#605) - The
allocator-api2/nightlyfeature is no longer enabled byhashbrown/nightly(#606)