diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-06-10 15:23:11 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-06-10 18:14:23 +1000 |
| commit | 195c985398a282aa56befff72b19069a0bf9306d (patch) | |
| tree | d70c7ce23ad93c0a8e378cc8e9bc37a0e024776c /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | cc671754a308177c2772b5f7e49939180b97d3a4 (diff) | |
| download | rust-195c985398a282aa56befff72b19069a0bf9306d.tar.gz rust-195c985398a282aa56befff72b19069a0bf9306d.zip | |
Avoid cloning `self.index` in `after_krate`.
It can be very big. This reduces peak memory usage for some `--output-format=json` runs by up to 8%.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
