Foreign maps are used to cache external DefIds, typically backed by metadata decoding. In the future we might skip caching `V` there (since loading from metadata usually is already cheap enough), but for now this cuts down on the impact to memory usage and time to None-init a bunch of memory. Foreign data is usually much sparser, since we're not usually loading *all* entries from the foreign crate(s). |
||
|---|---|---|
| .. | ||
| caches.rs | ||
| config.rs | ||
| job.rs | ||
| mod.rs | ||
| plumbing.rs | ||
| README.md | ||
For more information about how the query system works, see the rustc dev guide.