diff options
| author | bors <bors@rust-lang.org> | 2023-12-04 07:06:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-04 07:06:36 +0000 |
| commit | cf8d81213c193fc0ca9f2b99165476f8ae028295 (patch) | |
| tree | c42d1df90d0581519464626fcf7af881effbb1a1 /compiler/rustc_codegen_llvm/src/attributes.rs | |
| parent | 85a4bd8f5873aa3ec5eb38baf63b89aa9bd21a7b (diff) | |
| parent | c1774a137da5c125450b620f428fdb9777df6473 (diff) | |
| download | rust-cf8d81213c193fc0ca9f2b99165476f8ae028295.tar.gz rust-cf8d81213c193fc0ca9f2b99165476f8ae028295.zip | |
Auto merge of #118490 - Nadrieril:arena-alloc-matrix, r=nnethercote
Exhaustiveness: allocate memory better Exhaustiveness is a recursive algorithm that allocates a bunch of slices at every step. Let's see if I can improve performance by improving allocations. Already just using `Vec::with_capacity` is showing impressive improvements on my local measurements. r? `@ghost`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions
