This better follows the principle that types are simply constants of type type, and allows more uniform treatment of types as just another kind of constant from generics handling.
Use a hash table to map from TypeId to information about the complete type. This makes basic operations on types a bit simpler, and operations that actually need to access the complete class information a bit more complex.
This better follows the principle that types are simply constants of type
type
, and allows more uniform treatment of types as just another kind of constant from generics handling.Use a hash table to map from
TypeId
to information about the complete type. This makes basic operations on types a bit simpler, and operations that actually need to access the complete class information a bit more complex.