diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-13 13:34:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-13 13:34:29 +0200 |
| commit | 4dc0b8aa5b5394923d602f4db19271e3f1854b8b (patch) | |
| tree | e8eec97b323d33a16759af9283226f8c66590fce /src/test/incremental/thinlto | |
| parent | d0f8bd6e26c40d3940d5d1c942c0e25ef0dd3ba4 (diff) | |
| parent | d21eeb110c64d677652a03e858db1833ddf7761b (diff) | |
| download | rust-4dc0b8aa5b5394923d602f4db19271e3f1854b8b.tar.gz rust-4dc0b8aa5b5394923d602f4db19271e3f1854b8b.zip | |
Rollup merge of #65069 - crgl:clone-from-vec-deque, r=bluss
Implement Clone::clone_from for VecDeque See #28481. For simple data types with the target much longer than the source, this implementation can be significantly slower than the default (probably due to the use of truncate). However, it should be substantially faster when cloning from nested data structures with similar shapes or when cloning from VecDeques with similar lengths, hopefully more common use cases for clone_from.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
