Some perf optimizations and logging
This commit is contained in:
parent
32c447e179
commit
d954a8ee8e
10 changed files with 24 additions and 14 deletions
|
@ -400,6 +400,7 @@ impl<'tcx> From<ty::TyVid> for TyVidEqKey<'tcx> {
|
|||
|
||||
impl<'tcx> ut::UnifyKey for TyVidEqKey<'tcx> {
|
||||
type Value = TypeVariableValue<'tcx>;
|
||||
#[inline(always)]
|
||||
fn index(&self) -> u32 {
|
||||
self.vid.index
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue