change TypingMode
to use pointer tagging
#133336
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Right now
TypingMode
has a size of 16 bytes, which, given that we use it a lot of queries and in the global trait solver caches, results in a small, but noticeable perf cost. We should be able to convert it use a tagged pointer instead, copying the impl ofGenericArg
The text was updated successfully, but these errors were encountered: