Open desaikd opened 2 years ago
Current implementation of TypeStore and PendingTypes uses HashMap<String,TyepId> to represent core_types_by_id.
TypeStore
PendingTypes
HashMap<String,TyepId>
core_types_by_id
#[derive(Debug, Clone)] pub struct PendingTypes { core_type_ids_by_ion_type: HashMap<String, TypeId>, }
Once we have an implementation of Hash, Ord in ion-rust we can replace this to be HashMap<IonType, TypeId>.
Hash
Ord
ion-rust
HashMap<IonType, TypeId>
Current implementation of
TypeStore
andPendingTypes
usesHashMap<String,TyepId>
to representcore_types_by_id
.Once we have an implementation of
Hash
,Ord
inion-rust
we can replace this to beHashMap<IonType, TypeId>
.