Optimizing the polyphase sort
- 1 November 1971
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 14 (11) , 713-719
- https://doi.org/10.1145/362854.362881
Abstract
Various dispersion algorithms for the polyphase sorting procedure are examined. The optimum algorithm based on minimizing the total number of unit strings read is displayed. The logic of this algorithm is rather complicated; hence, several other new dispersion algorithms with more straightforward logic are presented. Of the simple dispersion algorithms discussed, the Horizontal is best. It does approximately one-fourth to one and one-half percent less reading and writing than most algorithms in use today. An additional two and one-fourth to three percent improvement can be achieved by utilizing the Modified Optimum Algorithm. This algorithm is relatively straightforward, but it requires a fairly close estimate of the total number of unit strings before the dispersion begins.Keywords
This publication has 6 references indexed in Scilit:
- Read-backward polyphase sortingCommunications of the ACM, 1963
- String distribution for the polyphase sortCommunications of the ACM, 1963
- Multiphase sortingCommunications of the ACM, 1963
- A dispersion pass algorithm for the polyphase mergeCommunications of the ACM, 1962
- A generalized polyphase merge algorithmCommunications of the ACM, 1961
- New merge sorting techniquesPublished by Association for Computing Machinery (ACM) ,1959