arrow
返回

TwinArray Sort: An Ultrarapid Conditional Non-Comparison Integer Sorting Algorithm

delete2026-01-31
delete0
delete
OA
AI
A
Amin Amini
DOI:10.3390/electronics15030609delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
TwinArray Sort is a non-comparison integer sorting algorithm designed for non-negative integers with relatively dense key ranges, offering competitive runtime performance and reduced memory usage relative to other counting-based methods. The algorithm introduces a conditional distinct-array verification mechanism that adapts the reconstruction strategy based on data characteristics while maintaining worst-case time and space complexity of O(n + k). Comprehensive experimental evaluations were conducted on datasets containing up to 108 elements across multiple data distributions, including random, reverse-sorted, nearly sorted, and their unique variants. The results demonstrate consistent performance improvements compared with established algorithms such as Counting Sort, Pigeonhole Sort, MSD Radix Sort, Spreadsort, Flash Sort, Bucket Sort, and Quicksort. TwinArray Sort achieved execution times up to 2.7 times faster and reduced memory usage by up to 50%, with particularly strong performance observed for unique and reverse-sorted datasets. The algorithm exhibits good scalability for large datasets and key ranges, with performance degradation occurring primarily in extreme cases where the key range significantly exceeds the input size due to auxiliary array requirements. These findings indicate that TwinArray Sort is a competitive solution for in-memory sorting in high-performance and distributed computing environments. Future work will focus on optimizing performance for wide key ranges and developing parallel implementations for multi-core and GPU architectures.
Keyword:
non-comparison integer sorting
linear-time sorting
dense key ranges
duplicate-aware algorithms
memory–time trade-offs
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

Divide-and-conquer based non-dominated sorting with Reduced Comparisons
err2019-12-01
err2
PREAI
errMishra, Sumit; Saha, Sriparna; Mondal, Samrat; Coello, Carlos A. Coello
err分享
err收藏
Fast In-Place Suffix Sorting on a Multicore Computer
err2018-12-01
err14
PREAI
errLao, Bin; Nong, Ge; Chan, Wai Hong; Xie, Jing Yi
err分享
err收藏

期刊

Electronics 封面图
Electronics
IF:
2.6
论文数:
1.1W
被引数:
5.1W

机构

L
liverpool john moores university
学者数:
371
论文数: 210
被引数: 4.1K
引用论文

引用论文

err分享
err收藏
Analytic variations on bucket selection and sorting
err2000-04-01
err0
PREAI
errMahmoud,Hosam; Flajolet,Philippe; Jacquet,Philippe; Régnier,Mireille
err分享
err收藏
The Analysis of Heapsort
err1993-07-01
err0
PREAI
errR. Schaffer; R. Sedgewick
err分享
err收藏
学者 查看更多内容