You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #29 - nipunn1313:extend_slice, r=jdm
Implement extend_from_slice and insert_from_slice with memmove optimization
Implement the performance optimized versions of insert_many and extend (from #28). These methods use memmove rather than a looped insert.
If we had function specialization, we could implement these without exposing new methods. Up to the maintainers whether we want to support these new methods.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/29)
<!-- Reviewable:end -->
0 commit comments