Toolsslug: std-sort

std::sort

The C++ standard library general-purpose sorting algorithm, commonly used as a performance baseline.

Curated Intelligence

1 items · Page 1/1
Hacker News AIT2·Open Source
62 pts
Open Source C++ Quicksort blqsort Outperforms std: :sort by Nearly 2x

The open source project blqsort released a C++ quicksort implementation combining branchless partitioning with a BlockQuicksort variant. Sorting 50 million random doubles takes 0.68s on Apple M1 versus 1.33s for std::sort, roughly a 49% speedup, and drops from 4.02s to 1.32s on an Intel i5-9300H. It is MIT-licensed and ships a single-header C version plus multithreaded variants.