You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #147486 - petrochenkov:optpriv, r=lcnr
privacy: Introduce some caching to type visiting in `DefIdVisitorSkeleton`
The caching fixes compilation speed issues in special cases like rust-lang/rust#145741, without introducing too much overhead in general cases.
I tried to cache more, but it caused regressions from the caching overhead, like it can be seen from benchmark runs below.
Inspired by rust-lang/rust#146128.
Closesrust-lang/rust#145741.
0 commit comments