Abstract
The recent results for merging developed by the authors are being described. Namely, it is dealt with
-
-a fast stable merging, which works in linear time and in O(N1/2) space (N is the total number of merged items). A new algorithm for such merging is given. The version of it for unstable merging requires just O(1)-space;
-
-a fast stable merging, which works in slightly nonlinear time and with variable workspace for merging. This algorithm is a thorough revision of that of Dudzinski and Dydek. O(1)-space version of this algorithm is discussed, too.
The experimental evaluation of these algorithms proved that they are the fastest in the corresponding classes.
Preview
Unable to display preview. Download preview PDF.
References
D.E. Knuth, The art of computer programming, Vol. III: Sorting and searching, Addison-Wesley, Reading, Mass., 1973.
L.T. Pardo, Stable sorting and merging with optimal space and time bounds, SIAM J. Comp. 6(2) (1977) 351–372.
K. Duzinski, A. Dydek, On a stable minimum storage merging algorithm, Inf. Proc. Lett. 12(1) (1981) 5–8.
M.A. Kronrod, An optimal ordering algorithm without a field of operation. Dokl. Akad. Nauk USSR 186 (1969) 1256–1258.
H. Mannila, E. Ukkonen, A simple linear-time algorithm for in-situ merging, Inf. Proc. Lett. 18(1984) 203–208.
B. Durian, Stable merging in O(N) memory and nonstable merging in O(1) memory (in Slovak), Informačné systémy, Vol. 14, no. 1 (1985) 67–86.
S. Dvořák, B. Ďurian, How to perform stable merging in a sublinear workspace? (to appear).
B. Ďurian, S. Dvořák, Making the DD-merging efficient (to appear).
B. Ďurian, Quicksort without a stack (in this proceedings).
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1986 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Dvořák, S., Ďurian, B. (1986). Towards an efficient merging. In: Gruska, J., Rovan, B., Wiedermann, J. (eds) Mathematical Foundations of Computer Science 1986. MFCS 1986. Lecture Notes in Computer Science, vol 233. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0016253
Download citation
DOI: https://doi.org/10.1007/BFb0016253
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-16783-9
Online ISBN: 978-3-540-39909-4
eBook Packages: Springer Book Archive