-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
🛠 use interned refs to goals/clauses instead of boxes #49054
Copy link
Copy link
Closed
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
In #48985, @scalexm added types for goals/clauses to use in the experimental lowering. That code used a
Boxto enable recursion. The typical thing for us to do is to use interning, as described briefly in this comment. There are FIXMEs in the code.