rust/library/alloc
bors 36db030a7c 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.
2022-11-17 10:48:22 +00:00
..
benches update str.contains benchmarks 2022-11-14 23:03:16 +01:00
src Auto merge of #104205 - clubby789:grow-rc, r=thomcc 2022-11-17 10:48:22 +00:00
tests Auto merge of #104205 - clubby789:grow-rc, r=thomcc 2022-11-17 10:48:22 +00:00
Cargo.toml Switch all libraries to the 2021 edition 2021-12-23 19:03:47 +08:00