Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/Sorting.h |
Include |
#include "Templates/Sorting.h" |
template<typename ValueType, typename CountType, class SortKeyClass>
void RadixSort32
(
ValueType *restrict Dst,
ValueType *restrict Src,
CountType Num,
SortKeyClass SortKey
)
Very fast 32bit radix sort. SortKeyClass defines operator() that takes ValueType and returns a uint32. Sorting based on key. No comparisons. Is stable. Use a smaller CountType for smaller histograms.