Closed
Description
The Vec::push_all
method special-cases pushing a slice onto a vector, and historically has performed much better than using extend
(depending on how LLVM optimizations are working out).
We need to offer a method with maximal performance somehow, but ideally this would come from extend
, either through optimization or through impl specialization.