22 points signa11 1 day ago 5 comments
brudgers 18 hours ago | parent
To be clear I did not look at the code, but benchmarking against 50 million items makes me suspect that minimal IO was required.
Now sure, sometimes that is exactly your use case. But for many interestingly sized problems, IO dominates.
paulddraper 1 hour ago | parent
This uses a bunch of low-level tricks and alternate stragies to beat std::sort on random data.
The primary advantage is branchless partitioning, which is a big win for random data, which hurts branch prediction for quicksort.
shiandow 1 hour ago | parent
omoikane 25 minutes ago | parent
https://news.ycombinator.com/item?id=48375445 - Branchless Quicksort faster than std:sort and pdqsort with C and C++ API (2026-06-02, 82 comments)