diff options
| author | kennytm <kennytm@gmail.com> | 2018-09-08 16:07:39 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-09-08 18:26:34 +0800 |
| commit | dbc9ec9da8da4deae0d3520c3b7befd124b9cb18 (patch) | |
| tree | 532d3085bcb355f80c3dcbcfdf0eb5cd97e291c2 /src/test/incremental/thinlto | |
| parent | 7569d9266e607df6579916e871d65480aaa8b50a (diff) | |
| parent | fb307e529d217c6602c1c0359b14947b6897265c (diff) | |
| download | rust-dbc9ec9da8da4deae0d3520c3b7befd124b9cb18.tar.gz rust-dbc9ec9da8da4deae0d3520c3b7befd124b9cb18.zip | |
Rollup merge of #53942 - nnethercote:faster-precompute, r=nikomatsakis
Rewrite `precompute_borrows_out_of_scope` for fewer hash table lookups. It now does one hash table lookup per basic block, instead of one per statement. This is worthwhile because this function is hot for NLL builds of `ucd`. I haven't measured the effect of this yet because I'm having trouble doing optimized builds of rustc that are suitable for profiling (#53916). I will do an online perf run instead. r? @nikomatsakis
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
