mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 11:17:26 +03:00
ad44239975
Optimize BinaryHeap::extend from Vec This improves the performance of extending `BinaryHeap`s from vectors directly. Future work may involve extending this optimization to other, similar, cases where the length of the added elements is well-known, but this is not yet done in this PR.