arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.08929cs.DScs.ARcs.PF
收藏

bsort: 一种理论高效的非比较式整数和浮点数排序算法

bsort: A theoretically efficient non-comparison-based sorting algorithm for integer and floating-point numbers

Independent researcher Mexico City, Mexico 1 Work performed prior to joining Amazon.

Benjamín Guzmán

AI总结:

bsort是一种理论高效的非比较式排序算法,通过二进制快速排序方法统一处理整数和浮点数,具有$O(wn)$的时间复杂度和$O(w)$的空间复杂度,适用于小字节大小的数据类型。

摘要:

本文提出了bsort,一种针对带符号和无符号整数以及浮点值的非比较式排序算法。该算法通过源自二进制快速排序的方法将这些情况统一起来,实现了$O(wn)$的渐近运行时间行为和$O(w)$的辅助空间,其中$w$是元素字节大小。该算法在数据类型字节大小较小时非常高效,实证分析显示其性能可与流行库中高度优化的混合算法相媲美。

英文摘要:

This paper presents bsort, a non-comparison-based sorting algorithm for signed and unsigned integers, and floating-point values. The algorithm unifies these cases through an approach derived from binary quicksort, achieving $O(wn)$ runtime asymptotic behavior and $O(w)$ auxiliary space, where $w$ is the element word size. This algorithm is highly efficient for data types with small word sizes, where empirical analysis exhibits performance competitive with highly optimized hybrid algorithms from popular libraries.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑