Replace the robin-hood hash table with hashbrown

This commit is contained in:
Amanieu d'Antras 2019-02-20 11:13:35 +00:00
parent 1fa7a21534
commit cf46bd5037
4 changed files with 406 additions and 2279 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,5 @@
//! Unordered containers, implemented as hash-tables
mod bench;
mod table;
pub mod map;
pub mod set;

View file

@ -1227,7 +1227,6 @@ impl<K> FusedIterator for IntoIter<K> {}
impl<K: fmt::Debug> fmt::Debug for IntoIter<K> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let entries_iter = self.iter
.inner
.iter()
.map(|(k, _)| k);
f.debug_list().entries(entries_iter).finish()
@ -1261,7 +1260,6 @@ impl<K> FusedIterator for Drain<'_, K> {}
impl<K: fmt::Debug> fmt::Debug for Drain<'_, K> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let entries_iter = self.iter
.inner
.iter()
.map(|(k, _)| k);
f.debug_list().entries(entries_iter).finish()

File diff suppressed because it is too large Load diff