Simplify lazy DefPathHash decoding by using an on-disk hash table. by michaelwoe...
source link: https://github.com/rust-lang/rust/pull/82183
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK