English

A Predictive Framework for Base-n Radix Sort Optimization

Data Structures and Algorithms 2026-02-17 v2

Abstract

Sorting is a foundational primitive of computer science and optimizations in sorting subroutines can cascade into significant performance gains for high-throughput systems. In this paper, we analyze the inefficiencies of a non-comparison sorting algorithm, namely, Base-n Radix Sort (BNRS), specifically the `zero padding' problem in skewed datasets. We develop an execution model, called, Stable Partitioning - Least Significant Digit Radix Sort (shortly, SP-LSD), an iterative least significant digit based pruning model designed to address this inefficiency. Based on this development, we derive the Radix Crossover Framework(RCF), an analytic three-point decision framework. The framework is established on the precondition of non-negative integers, which enables the derivation of three critical boundaries. First, the Asymptotic Crossover (k<nlog2nk<n^{\log_2 n}) defines when BNRS and SP-LSD can theoretically outperform the comparison sorting algorithms where k is the maximum value and n is the input size. Second, the Round-feasibility Crossover (k>n2k>n^2) defines when overhead cost of implemented model SP-LSD is amortized. Third, we derive Pruning Crossover parameterized by the ratio of random-access sorting cost to sequential partitioning cost. This model demonstrates that SP-LSD yields a net gain on skewed and uniform distributions over standard BNRS. The experimental results are consistent with the crossover boundaries, providing a deterministic roadmap for adaptive algorithm selection.

Keywords

Cite

@article{arxiv.2509.19021,
  title  = {A Predictive Framework for Base-n Radix Sort Optimization},
  author = {Atharv Pandey and Lakshmanan Kuppusamy},
  journal= {arXiv preprint arXiv:2509.19021},
  year   = {2026}
}

Comments

22 pages including Appendix

R2 v1 2026-07-01T05:52:06.760Z