diff options
| author | bors <bors@rust-lang.org> | 2022-11-17 10:48:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-17 10:48:22 +0000 |
| commit | 36db030a7c3c51cb4484cbd8c8daebcf5057d61c (patch) | |
| tree | 0d083a09dd9b64e2cad9ef236f6345199dbdb74a /compiler/rustc_parse/src/errors.rs | |
| parent | 7c75fe4c8547c276574cacb144919d67fd8ab302 (diff) | |
| parent | 8424c24837fffdb83796c5da52094b296445f08f (diff) | |
| download | rust-36db030a7c3c51cb4484cbd8c8daebcf5057d61c.tar.gz rust-36db030a7c3c51cb4484cbd8c8daebcf5057d61c.zip | |
Auto merge of #104205 - clubby789:grow-rc, r=thomcc
Attempt to reuse `Vec<T>` backing storage for `Rc/Arc<[T]>` If a `Vec<T>` has sufficient capacity to store the inner `RcBox<[T]>`, we can just reuse the existing allocation and shift the elements up, instead of making a new allocation.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
