Pushing the Limits in Sequential Sorting

  • Authors:
  • Stefan Edelkamp;Patrick Stiegeler

  • Affiliations:
  • -;-

  • Venue:
  • WAE '00 Proceedings of the 4th International Workshop on Algorithm Engineering
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

With refinements to the WEAK-HEAPSORT algorithm we establish the general and practical relevant sequential sorting algorithm RELAXED-WEAK-HEAPSORT executing exactly n⌈log n⌉ - 2⌈log n⌉ + 1 ≤ n log n - 0.9n comparisons on any given input. The number of transpositions is bounded by n plus the number of comparisons. Experiments show that RELAXED-WEAK-HEAPSORT only requires O(n) extra bits. Even if this space is not available, with QUICK-WEAK-HEAPSORT we propose an efficient QUICKSORT variant with n log n+0.2n+ o(n) comparisons on the average. Furthermore, we present data showing that WEAK-HEAPSORT, RELAXED-WEAK-HEAPSORT and QUICK-WEAK-HEAPSORT beat other performant QUICKSORT and HEAPSORT variants even for moderate values of n.