Get the latest tech news

Branchless Quicksort faster than std:sort and pdqsort with C and C++ API


mance results naturally depend on the underlying hardware. The following benchmarks show the execution times for sorting 50 million doubles using different sorting implementations.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of std

std

Photo of C++ API

C++ API

Photo of Branchless Quicksort

Branchless Quicksort

Related news:

News photo

Use string views instead of passing std:wstring by const&

News photo

Understanding Std:Shared_mutex from C++17

News photo

C++26: Std:Is_within_lifetime