[libcxx-commits] [libcxx] [libc++] [sort] Improve performance of std::sort (PR #76616)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Dec 30 07:08:50 PST 2023
================
@@ -68,8 +68,7 @@ void test_same() {
auto snapshot_custom_v = v;
std::sort(v.begin(), v.end());
std::sort(snapshot_v.begin(), snapshot_v.end());
- std::sort(snapshot_custom_v.begin(), snapshot_custom_v.end(),
- [](const EqualType&, const EqualType&) { return false; });
----------------
mordante wrote:
Why remove this test instead of just adding the new one?
https://github.com/llvm/llvm-project/pull/76616
More information about the libcxx-commits
mailing list