[libcxx-commits] [PATCH] D122780: Modify std::sort: add BlockQuickSort partitioning algorithm for arithmetic types

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 11 16:22:06 PST 2022


ldionne accepted this revision.
ldionne added a comment.
This revision is now accepted and ready to land.

In D122780#3869112 <https://reviews.llvm.org/D122780#3869112>, @nilayvaish wrote:

> In D122780#3850519 <https://reviews.llvm.org/D122780#3850519>, @ldionne wrote:
>
>> 
>
> @ldionne : if we collect and provide data on the relative change in cycles spent on std::sort for Google's data centers with the new implementation, would that be sufficient to land this diff in libcxx?  How much improvement would you expect from the new implementation for tilting the balance in its favor?

Thanks for adding the weights to the benchmarks here, I think this was the missing link for me. You and @marcogelmi are right, the patterns that are the most important get an improvement, so I think this is good to go.

Let's rebase this, wait for the CI to be green, and merge this. Let me or another libc++ review group member know if you need help with merging this (if you do, please provide `Author Name <email at domain>` for commit attribution).

Is https://reviews.llvm.org/D93233 still relevant?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122780



More information about the libcxx-commits mailing list