Closed
Description
The insert_many
function is complicated, and has had several bugs and vulnerabilities (#96, #208, #252). Unlike most SmallVec
methods, it does not correspond to a standard Vec
method. Perhaps because of this, it is rarely used. Should we deprecate this method, and remove it in the next major version?
The standard Vec::splice
method could be used in place of insert_many
, but SmallVec
does not yet implement this method. We could add this, possibly by copying the implementation from std::vec
, if there is demand for it.
Metadata
Metadata
Assignees
Labels
No labels