From: Jonas Schievink Date: Mon, 17 Oct 2016 00:28:31 +0000 (+0200) Subject: Don't process cycles when stalled X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=88fde7f728612252eef9624a40b3b3f7868309f1;p=rust.git Don't process cycles when stalled This improves the `inflate-0.1.0` benchmark by about 10% for me. --- diff --git a/src/librustc_data_structures/obligation_forest/mod.rs b/src/librustc_data_structures/obligation_forest/mod.rs index c079146edbf..fb2d3291a60 100644 --- a/src/librustc_data_structures/obligation_forest/mod.rs +++ b/src/librustc_data_structures/obligation_forest/mod.rs @@ -342,6 +342,16 @@ pub fn process_obligations

(&mut self, processor: &mut P) -> Outcome