]> git.lizzy.rs Git - rust.git/commit
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)
commit63760acf31e605c8a91bb5cbcbcb4bfb95435e48
tree26ee481c87ddb93c740d43ad775d49fe7dbdba13
parented7c56796ef17f13227a50dc1a72a018b1d5e33f
parent6ae80273a08c9cb0b75b8aec464f1e7d838a2bda
Auto merge of #33064 - jseyfried:improve_resolve_performance, r=eddyb

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