mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
36db030a7c
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. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |