about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-10-01 23:06:12 -0700
committerGitHub <noreply@github.com>2019-10-01 23:06:12 -0700
commitbd9d843ae488e4571186f676d63798f762544c1e (patch)
tree489bcf4fb0bac4155aabbf70931e9550e982cc3f /src/test/debuginfo/enum-thinlto.rs
parent65a050fddc7071611f0b3ae26efa64c5a23292b3 (diff)
parent5ca99b750e455e9b5e13e83d0d7886486231e48a (diff)
downloadrust-bd9d843ae488e4571186f676d63798f762544c1e.tar.gz
rust-bd9d843ae488e4571186f676d63798f762544c1e.zip
Rollup merge of #64801 - nnethercote:improve-find_constraint_paths_between_regions, r=estebank
Avoid `chain()` in `find_constraint_paths_between_regions()`.

This iterator can be hot, and chained iterators are slow. The second
half of the chain is almost always empty, so this commit specializes the
code to avoid the chained iteration.

This change reduces instruction counts for the `wg-grammar` benchmark by
up to 1.5%.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions