ACM Home Page
Please provide us with feedback. Feedback
Inversion-sensitive sorting algorithms in practice
Full text PdfPdf (671 KB)
Source Journal of Experimental Algorithmics (JEA) archive
Volume 13 ,  (February 2009) table of contents
SECTION: 1 - Regular Papers table of contents
Article No. 11  
Year of Publication: 2009
ISSN:1084-6654
Authors
Amr Elmasry  Max-planck institut für informatik, Saarbrücken, Germany
Abdelrahman Hammad  Alexandria University, Alexandria, Egypt
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 30,   Downloads (12 Months): 175,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1412228.1455267
What is a DOI?

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
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

Collaborative Colleagues:
Amr Elmasry: colleagues
Abdelrahman Hammad: colleagues