Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions src/common/hashtable/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ mod lookup_hashtable;
mod stack_hashtable;
mod table0;

mod simple_unsized_hashtable;
#[allow(dead_code)]
mod table1;
mod table_empty;
Expand Down Expand Up @@ -70,12 +71,21 @@ pub type UnsizedHashMap<K, V> = unsized_hashtable::UnsizedHashtable<K, V>;
pub type UnsizedHashMapIter<'a, K, V> = unsized_hashtable::UnsizedHashtableIter<'a, K, V>;
pub type UnsizedHashMapIterMut<'a, K, V> = unsized_hashtable::UnsizedHashtableIterMut<'a, K, V>;
pub type UnsizedHashSet<K> = unsized_hashtable::UnsizedHashtable<K, ()>;
pub type UnsizedHashSetIter<'a, K> = unsized_hashtable::UnsizedHashtableIter<'a, K, ()>;
pub type UnsizedHashSetIterMut<'a, K> = unsized_hashtable::UnsizedHashtableIterMut<'a, K, ()>;
pub type UnsizedHashtableEntryRef<'a, K, V> = unsized_hashtable::UnsizedHashtableEntryRef<'a, K, V>;
pub type UnsizedHashtableEntryMutRef<'a, K, V> =
unsized_hashtable::UnsizedHashtableEntryMutRef<'a, K, V>;

pub type SimpleUnsizedHashMap<K, V> = simple_unsized_hashtable::SimpleUnsizedHashtable<K, V>;
pub type SimpleUnsizedHashMapIter<'a, K, V> =
simple_unsized_hashtable::SimpleUnsizedHashtableIter<'a, K, V>;
pub type SimpleUnsizedHashMapIterMut<'a, K, V> =
simple_unsized_hashtable::SimpleUnsizedHashtableIterMut<'a, K, V>;
pub type SimpleUnsizedHashSet<K> = simple_unsized_hashtable::SimpleUnsizedHashtable<K, ()>;
pub type SimpleUnsizedHashtableEntryRef<'a, K, V> =
simple_unsized_hashtable::SimpleUnsizedHashtableEntryRef<'a, K, V>;
pub type SimpleUnsizedHashtableEntryMutRef<'a, K, V> =
simple_unsized_hashtable::SimpleUnsizedHashtableEntryMutRef<'a, K, V>;

pub type LookupHashMap<K, const CAPACITY: usize, V> = LookupHashtable<K, CAPACITY, V>;
pub type LookupHashMapIter<'a, K, const CAPACITY: usize, V> = LookupTableIter<'a, CAPACITY, K, V>;
pub type LookupHashMapIterMut<'a, K, const CAPACITY: usize, V> =
Expand Down
Loading