[libcxx-commits] [libcxx] [libcxx][algorithm] Optimize std::stable_sort via radix sort algorithm (PR #104683)

Дмитрий Изволов via libcxx-commits libcxx-commits at lists.llvm.org
Sat Aug 17 12:57:37 PDT 2024


izvolov wrote:

Oh, I didn't understand the question first time.

The key moment is that radix sort needs a temporary buffer, and `std::stable_sort` has one, but `std::sort`, unfortunately, not.

https://github.com/llvm/llvm-project/pull/104683


More information about the libcxx-commits mailing list