]> git.lizzy.rs Git - rust.git/commit
Specialize the `stalled_on` handling in `process_obligation()`.
authorNicholas Nethercote <nnethercote@mozilla.com>
Wed, 18 Sep 2019 04:50:48 +0000 (14:50 +1000)
committerNicholas Nethercote <nnethercote@mozilla.com>
Thu, 19 Sep 2019 23:51:52 +0000 (09:51 +1000)
commitacf7d4dcdba4046917c61aab141c1dec25669ce9
tree88f6a13572b698e607d1a5a4b719abf986e8612a
parentaaff05bd1c420a46c91f61f83c256b9f83605c43
Specialize the `stalled_on` handling in `process_obligation()`.

Optimizing for the common numbers of entries in `stalled_on` wins about
4% on `keccak` and `inflate`.
src/librustc/infer/mod.rs
src/librustc/traits/fulfill.rs