| 212 | |
| 213 | template <typename Seq, typename Get_Key> |
| 214 | sequence<typename Seq::value_type> integer_sort(Seq const &In, Get_Key const &g, |
| 215 | size_t num_bits = 0) { |
| 216 | using T = typename Seq::value_type; |
| 217 | sequence<T> Out = sequence<T>::no_init(In.size()); |
| 218 | sequence<T> Tmp = sequence<T>::no_init(In.size()); |
| 219 | integer_sort_(In, Out.slice(), Tmp.slice(), g, num_bits, 0, false); |
| 220 | return Out; |
| 221 | } |
| 222 | |
| 223 | // Given a sorted input sequence with integer keys in the range |
| 224 | // `[0,..,num_buckets)`, returns a sequence of length `num_buckets` in which the |
no test coverage detected