diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-01-14 18:08:02 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-01-15 17:16:45 -0500 |
| commit | 37849643c670f7f0809948986329b04ce5c90405 (patch) | |
| tree | 934c707fdc71454d887d5216bd783690c94785f8 /tests/rustdoc-js-std/struct-vec.js | |
| parent | 665d2c6f2c49f1b9710f201b341354769cef3f94 (diff) | |
| download | rust-37849643c670f7f0809948986329b04ce5c90405.tar.gz rust-37849643c670f7f0809948986329b04ce5c90405.zip | |
Cache local DefId-keyed queries without hashing
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).
Diffstat (limited to 'tests/rustdoc-js-std/struct-vec.js')
0 files changed, 0 insertions, 0 deletions
