about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-30 01:02:18 +0000
committerbors <bors@rust-lang.org>2021-01-30 01:02:18 +0000
commit0248c6f178ab3a4d2ec702b7d418ff8375ab0515 (patch)
treeba4e97dca3962e92eac9e39c94f6666528312cbf /compiler/rustc_mir/src/transform/coverage/debug.rs
parent9fa9b58a37587d60252c6bef4b86c05027cdcd1a (diff)
parent4b806878549990d2ad2aa3c265751d3d89947cdf (diff)
downloadrust-0248c6f178ab3a4d2ec702b7d418ff8375ab0515.tar.gz
rust-0248c6f178ab3a4d2ec702b7d418ff8375ab0515.zip
Auto merge of #81398 - bugadani:rustdoc-perf, r=GuillaumeGomez
rustdoc tweaking

* Reuse memory
* simplify `next_def_id`, avoid multiple hashing and unnecessary lookups
* remove `all_fake_def_ids`, use the global map instead (probably not a good step toward parallelization, though...)
* convert `add_deref_target` to iterative implementation
* use `ArrayVec` where we know the max number of elements
* minor touchups here and there
* avoid building temporary vectors that get appended to other vectors

At most places I may or may not be doing the compiler's job is this PR.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions