Sciweavers

CIAC
1997
Springer

A Meticulous Analysis of Mergesort Programs

13 years 9 months ago
A Meticulous Analysis of Mergesort Programs
The efficiency of mergesortprogramsis analysed under a simple unit-cost model. In our analysis the time performance of the sorting programs includes the costs of key comparisons, element moves and address calculations. The goal is to establish the best possible time-bound relative to the model when sorting n integers. By the well-known information-theoretic argument n log2 n - O(n) is a lower bound for the integer-sorting problem in our framework. New implementations for two-way and four-way bottom-up mergesort are given, the worst-casecomplexities of which are shown to be bounded by 5.5nlog2n + O(n) and 3.25nlog2n + O(n), respectively. The theoretical findings are backed up with a series of experiments which show the practical relevance of our analysis when implementing library routines for internal-memory computations.
Jyrki Katajainen, Jesper Larsson Träff
Added 07 Aug 2010
Updated 07 Aug 2010
Type Conference
Year 1997
Where CIAC
Authors Jyrki Katajainen, Jesper Larsson Träff
Comments (0)