]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #33064 - jseyfried:improve_resolve_performance, r=eddyb
authorbors <bors@rust-lang.org>
Mon, 18 Apr 2016 02:11:20 +0000 (19:11 -0700)
committerbors <bors@rust-lang.org>
Mon, 18 Apr 2016 02:11:20 +0000 (19:11 -0700)
resolve: Improve performance

This fixes #33061 by speeding up searchs through all traits in scope, a bottleneck in `resolve`.

According to my measurements, this PR improves resolution performance by a factor of 3.4x on `librustc`, which almost completely reverses the 3.75x performance regression reported in #33061.

r? @eddyb


Trivial merge