ACM logo

The ACM Journal of Experimental Algorithmics


Volume 3, Article 7, 1998


Implementing Radixsort

by

Arne Andersson

and

Stefan Nilsson

http://www.jea.acm.org/1998/AnderssonRadixsort/

Abstract:

We present and evaluate several optimization and implementation techniques for string sorting. In particular, we study a recently published radix sorting algorithm, Forward radixsort, that has a provably good worst-case behavior. Our experimental results indicate that radix sorting is considerably faster (often more than twice as fast) than comparison-based sorting methods. This is true even for small input sequences. We also show that it is possible to implement a radixsort with good worst-case running time without sacrificing average-case performance. Our implementations are competitive with the best previously published string sorting programs.

Received
Revised
Accepted
Published
October 13, 1997
July 14, 1998
September 10, 1998
December 31, 1998

Last updated and validated January 6, 1999, by editor@jea.acm.org