commit | 2cdbdea46fddfd5a7ca9756ec3ce80833352adda | [log] [tgz] |
---|---|---|
author | zoecarver <z.zoelec2@gmail.com> | Fri Nov 27 11:05:03 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Nov 30 01:55:31 2020 -0800 |
tree | c8037983b3886bbdfb2dfd6d23c6216a4294dd39 | |
parent | d8e6c1653677a47fcc703c6e846d1373ee5c7967 [diff] |
[libc++] Use std::move in numeric algorithms (P0616R0). This patch updates algorithms in <numeric> to use std::move based on p0616r0. Moving values instead of copying them creates huge speed improvements (see the paper for details). Differential Revision: https://reviews.llvm.org/D61170 GitOrigin-RevId: b2943765e72ee240aa7e9f3a6b8e8a336cadc7ae