2013-09-30 Chris Jefferson <chris@bubblescope.net>
commit3d1fe157ff93bcc5d38268342bad549750779d35
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Sep 2013 17:42:31 +0000 (30 17:42 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Sep 2013 17:42:31 +0000 (30 17:42 +0000)
treee2a1924c7a0619ea61ac6abeabf09c8329395080
parent734233158b5239eba1b999e053d560509b2239f4
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203035 138bc75d-0d04-0410-961f-82ee72b054a4
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]