Some perf optimizations and logging
This commit is contained in:
parent
32c447e179
commit
d954a8ee8e
10 changed files with 24 additions and 14 deletions
|
@ -418,6 +418,7 @@ impl<O: ForestObligation> ObligationForest<O> {
|
|||
/// be called in a loop until `outcome.stalled` is false.
|
||||
///
|
||||
/// This _cannot_ be unrolled (presently, at least).
|
||||
#[inline(never)]
|
||||
pub fn process_obligations<P, OUT>(&mut self, processor: &mut P) -> OUT
|
||||
where
|
||||
P: ObligationProcessor<Obligation = O>,
|
||||
|
@ -671,6 +672,7 @@ impl<O: ForestObligation> ObligationForest<O> {
|
|||
self.reused_node_vec = node_rewrites;
|
||||
}
|
||||
|
||||
#[inline(never)]
|
||||
fn apply_rewrites(&mut self, node_rewrites: &[usize]) {
|
||||
let orig_nodes_len = node_rewrites.len();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue