blob: 80e9b28139a66d8a9579661907be001a0992e33a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "loadedenumvalue.h"
#include <vespa/searchlib/common/sort.h>
namespace search::attribute {
void
sortLoadedByEnum(LoadedEnumAttributeVector &loaded)
{
ShiftBasedRadixSorter<LoadedEnumAttribute,
LoadedEnumAttribute::EnumRadix,
LoadedEnumAttribute::EnumCompare, 56>::
radix_sort(LoadedEnumAttribute::EnumRadix(),
LoadedEnumAttribute::EnumCompare(),
loaded.data(), loaded.size(), 16);
}
}
|