From: bors Date: Sat, 18 Sep 2021 14:37:39 +0000 (+0000) Subject: Auto merge of #82183 - michaelwoerister:lazier-defpathhash-loading2, r=wesleywiser X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=d6cd2c6c877110748296760aefddc21a0ea1d316;p=rust.git Auto merge of #82183 - michaelwoerister:lazier-defpathhash-loading2, r=wesleywiser Simplify lazy DefPathHash decoding by using an on-disk hash table. This PR simplifies the logic around mapping `DefPathHash` values encountered during incremental compilation to valid `DefId`s in the current session. It is able to do so by using an on-disk hash table encoding that allows for looking up values directly, i.e. without deserializing the entire table. The main simplification comes from not having to keep track of `DefPathHashes` being used during the compilation session. --- d6cd2c6c877110748296760aefddc21a0ea1d316