OSDN Git Service

2013-09-30 Chris Jefferson <chris@bubblescope.net>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Sep 2013 17:43:05 +0000 (17:43 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Sep 2013 17:43:05 +0000 (17:43 +0000)
commit0651f302be5c9959c1d25f077526841c92287c77
tree307430f0ba8d4733a5c47de5b0dfad6139748c5b
parent263fbcad8da01848f8736dc898180b3023aceac6
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/branches/gcc-4_7-branch@203037 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]