diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-12-23 10:37:05 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-12-23 14:22:36 -0500 |
| commit | f098f346ec3b925ad10858fbc6d9e98e15d7ebf1 (patch) | |
| tree | ff247f9a1420b2c02e14a75f50e142206788a7a5 /tests/rustdoc-js-std/string-from_ut.js | |
| parent | 6630d690859d882b2528a39317a701da64fe1203 (diff) | |
| download | rust-f098f346ec3b925ad10858fbc6d9e98e15d7ebf1.tar.gz rust-f098f346ec3b925ad10858fbc6d9e98e15d7ebf1.zip | |
Remove metadata decoding DefPathHash cache
This cache is largely useless. Decoding a DefPathHash from metadata is essentially a pair of memory loads - there's no heavyweight processing involved. Caching it behind a HashMap just adds extra cost and incurs hashing overheads.
Diffstat (limited to 'tests/rustdoc-js-std/string-from_ut.js')
0 files changed, 0 insertions, 0 deletions
