add flags to InternedTy
and InternedRegion
types
#627
Labels
good first issue
A good issue to start working on Chalk with
InternedTy
and InternedRegion
types
#627
In rustc, we have a "flags" system that propagates information about a type upward and which can be used to shortcircuit a lot of work. The [
TypeFlags
] propagates various bits. Each time a type is interned, the flags from any subtypes are combined to form the flags for the new interned type. This allows us to do things like skip subtrees that don't contain the sort of thing we are looking for efficiently.In the meeting today we discussed different ways of doing this. I'll add a comment with more notes.
The text was updated successfully, but these errors were encountered: