Optimize sequence generation and add STL-like adaptive algorithms to the benchmark.

This commit is contained in:
Ion Gaztañaga
2018-12-31 01:02:40 +01:00
parent aa04994c5b
commit 10074dc835
3 changed files with 224 additions and 99 deletions
+1 -1
View File
@@ -612,7 +612,7 @@ void adaptive_sort( RandIt first, RandIt last, Compare comp
typedef typename iterator_traits<RandIt>::size_type size_type;
typedef typename iterator_traits<RandIt>::value_type value_type;
::boost::movelib::detail_adaptive::adaptive_xbuf<value_type, RandRawIt> xbuf(uninitialized, uninitialized_len);
::boost::movelib::adaptive_xbuf<value_type, RandRawIt> xbuf(uninitialized, uninitialized_len);
::boost::movelib::detail_adaptive::adaptive_sort_impl(first, size_type(last - first), comp, xbuf);
}