about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2020-10-24 15:54:19 +0200
committerest31 <MTest31@outlook.com>2020-10-24 15:57:42 +0200
commita21c2eb1213715b26ae61944cb5edea897d77ebd (patch)
treee14473eb05f7455d76d5a5615d78726e7a705257 /compiler/rustc_llvm/llvm-wrapper
parent4d247ad7d3d2a9f72cd60e281f39b5d85bd6a463 (diff)
downloadrust-a21c2eb1213715b26ae61944cb5edea897d77ebd.tar.gz
rust-a21c2eb1213715b26ae61944cb5edea897d77ebd.zip
Iterate over the smaller list
If there are two lists of different sizes,
iterating over the smaller list and then
looking up in the larger list is cheaper
than vice versa, because lookups scale
sublinearly.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions