rust/compiler/rustc_metadata/src
bors ebb821f625 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.
2023-12-24 12:41:58 +00:00
..
rmeta Auto merge of #119265 - Mark-Simulacrum:remove-cache, r=cjgillot 2023-12-24 12:41:58 +00:00
creader.rs Rename Session::span_diagnostic as Session::dcx. 2023-12-18 16:06:21 +11:00
dependency_format.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
errors.rs Add level arg to into_diagnostic. 2023-12-19 09:19:25 +11:00
foreign_modules.rs Do not fetch HIR in native_libs. 2023-07-17 07:37:03 +00:00
fs.rs Rename Session::span_diagnostic as Session::dcx. 2023-12-18 16:06:21 +11:00
lib.rs Use rustc_fluent_macro::fluent_messages! directly. 2023-11-26 08:38:40 +11:00
locator.rs Auto merge of #118344 - saethlin:rmeta-header-pos, r=WaffleLapkin 2023-12-11 17:21:14 +00:00
native_libs.rs Enable link-arg link kind inside of #[link] attribute 2023-11-30 08:26:13 -08:00