diff options
| author | kennytm <kennytm@gmail.com> | 2018-05-03 16:11:31 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-05-04 02:12:48 +0800 |
| commit | fd4bf237834de7728d4a8a3af32393d27c934509 (patch) | |
| tree | 25f22e9404e7c002d2d15ee7dccde8adcee4a676 /src/test/incremental/thinlto | |
| parent | 06a47dc26ec742c3a899a76c182ef5c81ed9455f (diff) | |
| parent | 94c5d38f0b5c85e2171dfe7b9ec36954d17f5fe0 (diff) | |
| download | rust-fd4bf237834de7728d4a8a3af32393d27c934509.tar.gz rust-fd4bf237834de7728d4a8a3af32393d27c934509.zip | |
Rollup merge of #50365 - nnethercote:nearest_common_ancestor-two-vecs, r=nikomatsakis
Use two vectors in nearest_common_ancestor. When looking at any scope in scope chain A, we only need to look for matches among scopes previously seen in scope chain B, and vice versa. This halves the number of "seen before?" comparisons, speeding up some runs of style-servo, clap-rs, and syn by 1--2%. Thanks to @kirillkh for the suggestion. r? @nikomatsakis
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
