[PATCH] D52697: Bug 39129: Speeding up partition_point/lower_bound/upper_bound/ by using unsigned division by 2 when possible.

Denis Yaroshevskiy via Phabricator reviews at reviews.llvm.org
Sun Oct 14 07:22:26 PDT 2018


dyaroshev updated this revision to Diff 169601.
dyaroshev added a comment.

__half_positve now just uses a cast to make_unsigned and other review issues.


https://reviews.llvm.org/D52697

Files:
  benchmarks/algorithms.bench.cpp
  include/algorithm
  test/libcxx/algorithms/half_positive.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52697.169601.patch
Type: text/x-patch
Size: 7112 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181014/87e31f35/attachment.bin>


More information about the libcxx-commits mailing list