Parallel Multi-Deque Partition Dual-Deque Merge sorting algorithm using OpenMP
Quicksort is an important algorithm that uses the divide and conquer concept, and it can be
run to solve any problem. The performance of the algorithm can be improved by …
run to solve any problem. The performance of the algorithm can be improved by …
Blockquicksort: Avoiding branch mispredictions in quicksort
It is well known that Quicksort--which is commonly considered as one of the fastest in-place
sorting algorithms--suffers in an essential way from branch mispredictions. We present a …
sorting algorithms--suffers in an essential way from branch mispredictions. We present a …
How branch mispredictions affect quicksort
K Kaligosi, P Sanders - European Symposium on Algorithms, 2006 - Springer
We explain the counterintuitive observation that finding “good” pivots (close to the median of
the array to be partitioned) may not improve performance of quicksort. Indeed, an …
the array to be partitioned) may not improve performance of quicksort. Indeed, an …
Branch mispredictions don't affect mergesort
In quicksort, due to branch mispredictions, a skewed pivot-selection strategy can lead to a
better performance than the exact-median pivot-selection strategy, even if the exact median …
better performance than the exact-median pivot-selection strategy, even if the exact median …
On the adaptiveness of quicksort
Quicksort was first introduced in 1961 by Hoare. Many variants have been developed, the
best of which are among the fastest generic-sorting algorithms available, as testified by the …
best of which are among the fastest generic-sorting algorithms available, as testified by the …
Analysis of branch misses in quicksort
The analysis of algorithms mostly relies on counting classic elementary operations like
additions, multiplications, comparisons, swaps etc. This approach is often sufficient to …
additions, multiplications, comparisons, swaps etc. This approach is often sufficient to …
An experimental study of sorting and branch prediction
P Biggar, N Nash, K Williams, D Gregg - Journal of Experimental …, 2008 - dl.acm.org
Sorting is one of the most important and well-studied problems in computer science. Many
good algorithms are known which offer various trade-offs in efficiency, simplicity, memory …
good algorithms are known which offer various trade-offs in efficiency, simplicity, memory …
Blockquicksort: How branch mispredictions don't affect quicksort
Since the work of Kaligosi and Sanders (2006), it is well-known that Quicksort--which is
commonly considered as one of the fastest in-place sorting algorithms--suffers in an …
commonly considered as one of the fastest in-place sorting algorithms--suffers in an …
Lean programs, branch mispredictions, and sorting
According to a folk theorem, every program can be transformed into a program that produces
the same output and only has one loop. We generalize this to a form where the resulting …
the same output and only has one loop. We generalize this to a form where the resulting …
Skewed binary search trees
It is well-known that to minimize the number of comparisons a binary search tree should be
perfectly balanced. Previous work has shown that a dominating factor over the running time …
perfectly balanced. Previous work has shown that a dominating factor over the running time …