Skip to content

Commit 03872e2

Browse files
committed
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. Closes rust-lang/rust#145741.
2 parents 44e9d23 + 82160e4 commit 03872e2

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)