diff options
| author | bors <bors@rust-lang.org> | 2024-09-27 09:50:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-27 09:50:52 +0000 |
| commit | a3f76a26e045a760bb1163b7eab36872985242d5 (patch) | |
| tree | 53aadcf4871256263f4c8a832a8b01f884c17d82 /compiler/rustc_codegen_gcc/tools/generate_intrinsics.py | |
| parent | b9dc4a30e116c6bd1b873fa79379ea70e102c47b (diff) | |
| parent | 345077af98bb0efc796536d82e4232aab10671f3 (diff) | |
| download | rust-a3f76a26e045a760bb1163b7eab36872985242d5.tar.gz rust-a3f76a26e045a760bb1163b7eab36872985242d5.zip | |
Auto merge of #130857 - lukas-code:no-clones-allowed, r=notriddle
rustdoc perf: clone `clean::Item` less In https://github.com/rust-lang/rust/pull/130798, I caused a small perf regression for rustdoc (see https://github.com/rust-lang/rust/pull/130807#issuecomment-2373116917), so here is a small improvement to make up for it :smiley_cat:. This change is actually unrelated to the minor perf regression in `Item::stability` and instead fixes a more relevant perf problem that I found while investigating: For certain crates with many impls on type aliases, we unnecessarily cloned large `clean::Item`s multiple times -- now we just borrow them.
Diffstat (limited to 'compiler/rustc_codegen_gcc/tools/generate_intrinsics.py')
0 files changed, 0 insertions, 0 deletions
