|
ABSTRACT
We study the performance of the most practical inversion-sensitive internal sorting algorithms. Experimental results illustrate that adaptive AVL sort consumes the fewest number of comparisons unless the number of inversions is less than 1%; in such case Splaysort consumes the fewest number of comparisons. On the other hand, the running time of Quicksort is superior unless the number of inversions is less than 1.5%; in such case Splaysort has the shortest running time. Another interesting result is that although the number of cache misses for the cache-optimal Greedysort algorithm was the least, compared to other adaptive sorting algorithms under investigation, it was outperformed by Quicksort.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Adelson-Velskii, G., and Landis, E. 1962. On an information organization algorithm. Doklady Akademia Nauk SSSR, 146, 263--266.
|
| |
2
|
Brodal, G., Fagerberg, R., and Moruz, G. 2005. On the adaptiveness of Quicksort. Proceedings of the 7th Workshop on Algorithm Engineering and Experiments, Vancouver, B.C., Canada, January 22, pp. 130--140, SIAM.
|
| |
3
|
Brodal, G., Fagerberg, R., and Moruz, G. 2005. Cache-aware and cache-oblivious adaptive sorting. Proceedings of the 32nd International Colloquium on Automata, Languages and Programming, Lisboa, Portugal, July 11--15, Lecture Notes on Computer Science 3580, pp. 576--588, Springer Verlag.
|
| |
4
|
|
 |
5
|
|
| |
6
|
Dromey, P. 1984. Exploiting partial order with Quicksort. Software: Practice and Experience, 14, 509--518.
|
| |
7
|
Elmasry, A. 2004. Adaptive sorting with AVL trees. 18th IFIP World Computer Congress, Proceedings of the 3rd International Conference on Theoretical Computer Science, Toulouse, France, August 23--26, pp. 315--324.
|
 |
8
|
|
| |
9
|
Elmasry, A., Jensen, C., and Katajainen, J. 2004. A framework for speeding up priority queue operations. CPH STL TR 2004-3, Department of Computing, University of Copenhagen.
|
| |
10
|
|
| |
11
|
|
 |
12
|
|
| |
13
|
|
 |
14
|
Leo J. Guibas , Edward M. McCreight , Michael F. Plass , Janet R. Roberts, A new representation for linear lists, Proceedings of the ninth annual ACM symposium on Theory of computing, p.49-60, May 04-04, 1977, Boulder, Colorado, United States
[doi> 10.1145/800105.803395]
|
 |
15
|
|
| |
16
|
|
| |
17
|
|
| |
18
|
|
| |
19
|
|
| |
20
|
Mannila, H. 1985. Measures of presortedness and optimal sorting algorithms. IEEE Transactions on Computers, C-34, 318--325.
|
| |
21
|
|
| |
22
|
|
| |
23
|
Moffat, A. and Petersson, O. 1992. An overview of adaptive sorting. Australian Computer Journal, 24, 70--77.
|
| |
24
|
Moffat, A., Petersson, O., and Wormald, N. 1998. A tree-based Mergesort. Acta Informatica, 35(9), 775--793.
|
 |
25
|
|
 |
26
|
|
 |
27
|
|
|