Overview
Parallel merge sort keeps merge sort's stable divide-and-conquer structure but schedules independent halves concurrently, which can improve throughput when merge overhead and memory bandwidth are managed carefully.
Sorts large collections by splitting merge sort work across workers and merging sorted partitions.
Compact metadata for implementation and discovery.
Parallel merge sort keeps merge sort's stable divide-and-conquer structure but schedules independent halves concurrently, which can improve throughput when merge overhead and memory bandwidth are managed carefully.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n log n)
Average
O(n log n)
Worst
O(n log n)
Space
O(n)
Show partitions being sorted independently and merged back into one ordered sequence.
Parallel Merge Sort should be used with the assumptions and tradeoffs of parallel Divide and Conquer in mind.
What each reference supports for this entry.
Algorithms textbook support for Parallel Merge Sort invariants, search ordering, correctness argument, or asymptotic analysis.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Parallel merge sort distributes merge sort recursion and merge work across workers.