SotSort: a stable quicksort with a tunable buffer
Lucas Sotomayor
Key points
From the paper's conclusion- SotSort is a stable comparison sort whose single code path runs with anything from a fixed 16 KB buffer to a full n-element buffer.
Abstract
SotSort is a stable comparison sort whose single code path runs with anything from a fixed 16 KB buffer to a full n-element buffer. Its core is a stable quicksort that partitions blocks through the buffer and gathers them with rotations. This report summarises the design, states which parts are borrowed, and compares an implementation against blitsort, fluxsort, glidesort, driftsort, GrailSort and WikiSort. On one 2-vCPU machine, with 32- and 64-bit integers, the constant-memory mode takes between 0.19 and 0.75 of blitsort's time on 16 of 22 input classes and between 0.94 and 1.09 on the other six. With a comparator that rules out the vector partition it is slower than blitsort on 7 of 11 classes, by up to 2.6 times on sorted input. All numbers are preliminary.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PPQSort: Pattern‐Defeating Parallel QuicksortConcurrency and Computation Practice and Experience · 2026
- Straightforward Entropy-Sensitive MergesortarXiv · 2026
- Shared-Memory Range-Tiled CDF Sort for Small-Range Integer Keys on GPUsarXiv · 2026
- Fast and Simple Sorting Using Partial Information.Algorithmica · 2026
- Sorting in PRAM, Parallel Comparison Model and Parallel External Memory ModelarXiv · 2026
- Sorting by block-reversals: closing the gaparXiv · 2026