mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
6af6c40a12
BTreeMap: prefer bulk_steal functions over specialized ones The `steal_` functions (apart from their return value) are basically specializations of the more general `bulk_steal_` functions. This PR removes the specializations. The library/alloc benchmarks say this is never slower and up to 6% faster. r? ``@Mark-Simulacrum``