[libcxx-commits] [PATCH] D63063: Bug 42208: speeding up std::merge

Denis Yaroshevskiy via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jul 28 14:15:51 PDT 2019


dyaroshev updated this revision to Diff 212117.
dyaroshev added a comment.
Herald added a subscriber: christof.
Herald added a reviewer: jdoerfert.

Sorry for taking a long time - was busy.

Updated std::merge/std::copy to be constexpr friendly.
Used std::is_constant_evaluated (available in the trunk) to do speed up std::merge for runtime.
Added tests for both constexpr/non-constexpr merge.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63063/new/

https://reviews.llvm.org/D63063

Files:
  benchmarks/algorithms.merge.bench.cpp
  include/algorithm
  include/iterator
  test/libcxx/algorithms/merge.pass.cpp
  test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp
  test/std/algorithms/alg.sorting/alg.merge/merge.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63063.212117.patch
Type: text/x-patch
Size: 19029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190728/58ceb60c/attachment-0001.bin>


More information about the libcxx-commits mailing list