Implementing Quicksort programs
- 1 October 1978
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 21 (10) , 847-857
- https://doi.org/10.1145/359619.359631
Abstract
This paper is a practical study of how to implement the Quicksort sorting algorithm and its best variants on real computers, including how to apply various code optimization techniques. A detailed implementation combining the most effective improvements to Quicksort is given, along with a discussion of how to implement it in assembly language. Analytic results describing the performance of the programs are summarized. A variety of special situations are considered from a practical standpoint to illustrate Quicksort's wide applicability as an internal sorting method which requires negligible extra storage.Keywords
This publication has 12 references indexed in Scilit:
- Quicksort with Equal KeysSIAM Journal on Computing, 1977
- The analysis of Quicksort programsActa Informatica, 1977
- Structured Programming with go to StatementsACM Computing Surveys, 1974
- Some performance tests of “quicksort” and descendantsCommunications of the ACM, 1974
- Sorting in a paging environmentCommunications of the ACM, 1970
- Samplesort: A Sampling Approach to Minimal Storage Tree SortingJournal of the ACM, 1970
- Some Theorems on SortingSIAM Journal on Applied Mathematics, 1969
- Certification of Algorithm 271: QuickersortCommunications of the ACM, 1966
- QuicksortThe Computer Journal, 1962
- Algorithm 64: QuicksortCommunications of the ACM, 1961