mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
6a979b3e32
Revert "Simplify internals of `{Rc,Arc}::default`"
This reverts rust-lang/rust#152591 following a [perf run being done](https://github.com/rust-lang/rust/pull/152591#issuecomment-3960081137). I'm not really positioned at this time to dive in further and understand the performance regressions, so I'll back away from `Rc`/`Arc` and leave them as-is.