Files
cKit/Sort/c_LSDRadixSort.h
T

17 lines
511 B
C
Raw Normal View History

2026-08-29 01:58:00 +08:00
#ifndef INCLUDED_C_LSDRADIXSORT_H
#define INCLUDED_C_LSDRADIXSORT_H
#ifndef INCLUDED_C_TYPES_H
#include <c_Types.h>
#endif /*INCLUDED_C_TYPES_H*/
typedef struct {
c_size_t R; // Alphabet size / Radix constraints (e.g., 256 for ASCII chars or bytes)
c_size_t W; // Fixed length key width criteria (number of sorting passes/characters)
} c_LSDRadixSort_t;
c_err_t c_LSDRadixSort_Sort(const c_LSDRadixSort_t* sort, char** arr, c_size_t n);
#endif /*INCLUDED_C_LSDRADIXSORT_H*/