about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-19 12:44:57 +0000
committerbors <bors@rust-lang.org>2022-11-19 12:44:57 +0000
commit62c627c7a3a9b3e193a5ae6e1ec7348bc5136301 (patch)
tree607e978504d66bb613ebfcf8a33a7f30551087b8 /library/std/src
parent5e6de2369c82ed0b36e6b651b041bad5cb5e1ef8 (diff)
parent27019f10ae18d0a839648d05e422d9b0337908c2 (diff)
downloadrust-62c627c7a3a9b3e193a5ae6e1ec7348bc5136301.tar.gz
rust-62c627c7a3a9b3e193a5ae6e1ec7348bc5136301.zip
Auto merge of #104571 - clubby789:remove-vec-rc-opt, r=the8472
Revert Vec/Rc storage reuse opt

Remove the optimization for using storage added by #104205.
The perf wins were pretty small, and it relies on non-guarenteed behaviour. On platforms that don't implement shrinking in place, the performance will be significantly worse.

While it could be gated to platforms that do this (such as GNU), I don't think it's worth the overhead of maintaining it for very small gains. (#104565, #104563)

cc `@RalfJung` `@matthiaskrgr`

Fixes #104565
Fixes #104563
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions