about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2018-05-01 10:01:02 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2018-05-01 22:12:49 +1000
commit94c5d38f0b5c85e2171dfe7b9ec36954d17f5fe0 (patch)
treeddc4d00ad6599bca77e7b36e304749b71ae1e79f /src/test/incremental/thinlto
parentf76f6fbdea497c3cb536e33387f405cc74b99b76 (diff)
downloadrust-94c5d38f0b5c85e2171dfe7b9ec36954d17f5fe0.tar.gz
rust-94c5d38f0b5c85e2171dfe7b9ec36954d17f5fe0.zip
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%.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions