Sorting algorithms based on successive merging of ordered subsequences are widely used, due to their efficiency and to their intrinsically parallelizable structure. Among them, the merge-sort algorithm emerges indisputably as the most prominent method. In this paper we present a variant of merge-sort that proceeds through arbitrary merges between pairs of quasi-ordered Subsequences, no matter which their size may be. We provide a detailed analysis.. showing that a set of n elements can be sorted by performing at most n[logn] key comparisons. Our method has the same optimal asymptotic time and space complexity as compared to previous known unbalanced merge-sort algorithms, but experimental results show that it behaves significantly better in practice. (c) 2005 Elsevier Inc. All rights reserved.
Nardelli, E., Proietti, G. (2006). Efficient unbalanced merge-sort. INFORMATION SCIENCES, 176(10), 1321-1337 [10.1016/j.ins.2005.04.008].
Efficient unbalanced merge-sort
NARDELLI, ENRICO;
2006-01-01
Abstract
Sorting algorithms based on successive merging of ordered subsequences are widely used, due to their efficiency and to their intrinsically parallelizable structure. Among them, the merge-sort algorithm emerges indisputably as the most prominent method. In this paper we present a variant of merge-sort that proceeds through arbitrary merges between pairs of quasi-ordered Subsequences, no matter which their size may be. We provide a detailed analysis.. showing that a set of n elements can be sorted by performing at most n[logn] key comparisons. Our method has the same optimal asymptotic time and space complexity as compared to previous known unbalanced merge-sort algorithms, but experimental results show that it behaves significantly better in practice. (c) 2005 Elsevier Inc. All rights reserved.File | Dimensione | Formato | |
---|---|---|---|
InfSci-06.pdf
solo utenti autorizzati
Dimensione
195.84 kB
Formato
Adobe PDF
|
195.84 kB | Adobe PDF | Visualizza/Apri Richiedi una copia |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.