]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/performance/25_algorithms/sort.cc
re PR libstdc++/58437 (Sorting value in reverse order is much slower compare to gcc44)
authorChris Jefferson <chris@bubblescope.net>
Mon, 30 Sep 2013 17:42:31 +0000 (17:42 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 30 Sep 2013 17:42:31 +0000 (17:42 +0000)
commita10bad862ffabecf122bfbb6b506be673c867b89
treee2a1924c7a0619ea61ac6abeabf09c8329395080
parentca406576e5d17d88540d65f62a4393b8f5fe5d8e
re PR libstdc++/58437 (Sorting value in reverse order is much slower compare to gcc44)

2013-09-30  Chris Jefferson  <chris@bubblescope.net>

PR libstdc++/58437
* include/bits/stl_algo.h (__move_median_first): Rename to
__move_median_to_first, change to take an addition argument.
(__unguarded_partition_pivot): Adjust.
* testsuite/performance/25_algorithms/sort.cc: New.
* testsuite/performance/25_algorithms/sort_heap.cc: Likewise.
* testsuite/performance/25_algorithms/stable_sort.cc: Likewise.

From-SVN: r203035
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/testsuite/performance/25_algorithms/sort.cc [new file with mode: 0644]
libstdc++-v3/testsuite/performance/25_algorithms/sort_heap.cc [new file with mode: 0644]
libstdc++-v3/testsuite/performance/25_algorithms/stable_sort.cc [new file with mode: 0644]