Multiway Powersort

Gelling WC, Nebel M, Smith B, Wild S (2023)
In: 2023 Proceedings of the Symposium on Algorithm Engineering and Experiments, ALENEX. Philadelphia: SIAM: 190-200.

Konferenzbeitrag | Veröffentlicht | Englisch
 
Download
Es wurden keine Dateien hochgeladen. Nur Publikationsnachweis!
Autor*in
Gelling, William Cawley; Nebel, MarkusUniBi; Smith, Benjamin; Wild, Sebastian
Abstract / Bemerkung
We present a stable mergesort variant, Multiway Powersort, that exploits existing runs and finds nearly-optimal merging orders for k-way merges with negligible overhead. This builds on Powersort (Munro& Wild, ESA2018), which has recently replaced Timsort's suboptimal merge policy in the CPython reference implementation of Python, as well as in PyPy and further libraries. Multiway Powersort reduces the number of memory transfers, which increasingly determine the cost of internal sorting (as observed with Multiway Quicksort (Kushagra et al., ALENEX 2014; Aumuller& Dietzfelbinger, TALG 2016; Wild, PhD thesis 2016) and the inclusion of Dual-Pivot Quicksort in the Java runtime library). We demonstrate that our 4-way Powersort implementation can achieve substantial speedups over standard (2-way) Powersort and other stable sorting methods without compromising the optimally run-adaptive performance of Powersort.
Erscheinungsjahr
2023
Titel des Konferenzbandes
2023 Proceedings of the Symposium on Algorithm Engineering and Experiments, ALENEX
Seite(n)
190-200
Konferenz
Symposium on Algorithm Engineering and Experiments (ALENEX)
Konferenzort
Florence, ITALY
Konferenzdatum
2023-01-22 – 2023-01-23
ISBN
978-1-61197-756-1
Page URI
https://pub.uni-bielefeld.de/record/2992525

Zitieren

Gelling WC, Nebel M, Smith B, Wild S. Multiway Powersort. In: 2023 Proceedings of the Symposium on Algorithm Engineering and Experiments, ALENEX. Philadelphia: SIAM; 2023: 190-200.
Gelling, W. C., Nebel, M., Smith, B., & Wild, S. (2023). Multiway Powersort. 2023 Proceedings of the Symposium on Algorithm Engineering and Experiments, ALENEX, 190-200. Philadelphia: SIAM.
Gelling, William Cawley, Nebel, Markus, Smith, Benjamin, and Wild, Sebastian. 2023. “Multiway Powersort”. In 2023 Proceedings of the Symposium on Algorithm Engineering and Experiments, ALENEX, 190-200. Philadelphia: SIAM.
Gelling, W. C., Nebel, M., Smith, B., and Wild, S. (2023). “Multiway Powersort” in 2023 Proceedings of the Symposium on Algorithm Engineering and Experiments, ALENEX (Philadelphia: SIAM), 190-200.
Gelling, W.C., et al., 2023. Multiway Powersort. In 2023 Proceedings of the Symposium on Algorithm Engineering and Experiments, ALENEX. Philadelphia: SIAM, pp. 190-200.
W.C. Gelling, et al., “Multiway Powersort”, 2023 Proceedings of the Symposium on Algorithm Engineering and Experiments, ALENEX, Philadelphia: SIAM, 2023, pp.190-200.
Gelling, W.C., Nebel, M., Smith, B., Wild, S.: Multiway Powersort. 2023 Proceedings of the Symposium on Algorithm Engineering and Experiments, ALENEX. p. 190-200. SIAM, Philadelphia (2023).
Gelling, William Cawley, Nebel, Markus, Smith, Benjamin, and Wild, Sebastian. “Multiway Powersort”. 2023 Proceedings of the Symposium on Algorithm Engineering and Experiments, ALENEX. Philadelphia: SIAM, 2023. 190-200.