A C++ Quicksort Faster Than std::sort
Quick read
This page describes blqsort, a C/C++ quicksort implementation that uses branchless partitioning, sorting networks for small partitions, and robust pivot selection to outperform std::sort on random data. It links to MIT-licensed C and C++ implementations (including single-header and multithreaded versions) and shows benchmark results and code examples explaining the algorithmic ideas.
- Branchless partitioning reduces branch mispredictions
- Use sorting networks for small partitions instead of insertion sort
- Provides MIT-licensed single-file C/C++ implementations and benchmarks
Reactions
No reactions yet. Record a short about this link and it shows up here, in Reels and in the community feed.
Is tiki.li your site? Sign in to verify it and get a Verified badge, full stats and a link-back badge.
What we found on this site
- Real-visitor speed
- Not enough visitors for Google data
From public records. See how the rest of the web compares in the NexURLs Internet Report.
Sites like A C++ Quicksort Faster Than std::sort
- Billion-query-per-second lookup tables in C++lemire.me
- Sorting Algorithms Animatedtoptal.com
An interactive page that animates eight in-memory array sorting algorithms across four input conditions, showing their...
- Visualizing Algorithmsbost.ocks.org
- Making np.searchsorted up to 25× Faster in NumPy 2.5blog.scientific-python.org
This blog post discusses optimizing the np.searchsorted function in NumPy. It explains how to achieve significant...
- VisuAlgovisualgo.net
VisuAlgo is an educational website that animates data structures and algorithms to help learners understand their...
- Algorithm Visualizeralgorithm-visualizer.org
More Design & Art finds
- Site Seeingishadeed.com
- Archives.Designarchives.design
- Behind the cover of Standout Designs for the Webstuffandnonsense.co.uk
- Tiny crew paints your photos like Van Goghtrenttroyer.com
- Wind over water of glyph character animationstarx.github.io
- The Philosophers' Trailphilosophers-trail.pages.dev
Feeling lucky? Try the random website generator.
Where people went next
Nobody has added a next stop yet. Be the first.