about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/osstring-to-string.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-24 12:41:58 +0000
committerbors <bors@rust-lang.org>2023-12-24 12:41:58 +0000
commitebb821f625db3cbc77c675326165b8dfc3d7a2be (patch)
tree10e346963040fb45ebf589bb6cf7610783364fb6 /tests/rustdoc-js-std/osstring-to-string.js
parent08cc634f1a26f30801daa1cbe7b866b12aaf1edd (diff)
parentf098f346ec3b925ad10858fbc6d9e98e15d7ebf1 (diff)
downloadrust-ebb821f625db3cbc77c675326165b8dfc3d7a2be.tar.gz
rust-ebb821f625db3cbc77c675326165b8dfc3d7a2be.zip
Auto merge of #119265 - Mark-Simulacrum:remove-cache, r=cjgillot
Remove metadata decoding DefPathHash cache

My expectation is that 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 for the indices.

Based on https://github.com/rust-lang/rust/pull/119238.
Diffstat (limited to 'tests/rustdoc-js-std/osstring-to-string.js')
0 files changed, 0 insertions, 0 deletions