Auto merge of #109333 - Zoxc:erase-query-cache-values, r=cjgillot
Erase query cache values This replaces most concrete query values `V` with `MaybeUninit<[u8; { size_of::<V>() }]>` without introducing dynamic dispatch like https://github.com/rust-lang/rust/pull/108638 does. This is split out of https://github.com/rust-lang/rust/pull/108638 so the performance impact of only this change can be measured. r? `@cjgillot`
This commit is contained in:
commit
f5b8f44e5d
11 changed files with 465 additions and 61 deletions
|
@ -7,6 +7,7 @@
|
|||
use crate::ty::{self, print::describe_as_module, TyCtxt};
|
||||
use rustc_span::def_id::LOCAL_CRATE;
|
||||
|
||||
pub mod erase;
|
||||
mod keys;
|
||||
pub use keys::{AsLocalKey, Key, LocalCrate};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue