4

Simplify lazy DefPathHash decoding by using an on-disk hash table. by michaelwoe...

 2 years ago
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.
neoserver,ios ssh client

Copy link

Member

michaelwoerister commented on Feb 16

edited

This PR simplifies the logic around mapping DefPathHash values encountered during incremental compilation to valid DefIds 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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK