计算机科学 > 数据结构与算法
[提交于 2012年6月15日]
标题:Comparison of Bucket Sort and RADIX Sort
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Bucket sort and RADIX sort are two well-known integer sorting algorithms. This paper measures empirically what is the time usage and memory consumption for different kinds of input sequences. The algorithms are compared both from a theoretical standpoint but also on how well they do in six different use cases using randomized sequences of numbers. The measurements provide data on how good they are in different real-life situations. It was found that bucket sort was faster than RADIX sort, but that bucket sort uses more memory in most cases. The sorting algorithms performed faster with smaller integers. The RADIX sort was not quicker with already sorted inputs, but the bucket sort was.
提交历史
来自:Panu Horsmalahti[v1] 2012年6月15日 星期五 16:39:51 UTC