diff options
| author | bors <bors@rust-lang.org> | 2014-10-28 12:26:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-10-28 12:26:50 +0000 |
| commit | 58dc0a05abb98ae2db65ca20e70f3bab51f8bf92 (patch) | |
| tree | f64c3f902c7602acfcff0aada7d0709ec45ab4a5 /src/test/debuginfo/function-arg-initialization.rs | |
| parent | 9a778bc550c22c50117ee42ef5cf7510622fb036 (diff) | |
| parent | 1da73ff12642182c9049630c3625f44f718c6c2f (diff) | |
| download | rust-58dc0a05abb98ae2db65ca20e70f3bab51f8bf92.tar.gz rust-58dc0a05abb98ae2db65ca20e70f3bab51f8bf92.zip | |
auto merge of #18386 : nikomatsakis/rust/issue-18208, r=pnkfelix
Avoid O(n^2) performance by reconsidering the full set of obligations only when we are about to report an error (#18208). I found it is still important to consider the full set in order to make tests like `let x: Vec<_> = obligations.iter().collect()` work. I think we lack the infrastructure to write a regression test for this, but when I did manual testing I found a massive reduction in type-checking time for extreme examples like those found in #18208 vs stage0. f? @dotdash
Diffstat (limited to 'src/test/debuginfo/function-arg-initialization.rs')
0 files changed, 0 insertions, 0 deletions
