HN Hall of Fame Weekly email

Do low-level optimizations matter? Faster quicksort with cmov (2020)

cantrip.org Essays & writing Essays & articles Software engineering Candidate
Screenshot of cantrip.org captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 4 calendar years, with breakout response in 2 of them.

submissions
6
submitters
5
observed span
2020–2025
peak thread · 75 comments
174 pts
latest 20+ return · 2024-08-21
174 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

A correction to the history mentioned in the article: CMOV has not been added by AMD around 2000. CMOV has been added by Intel in 1995, to Pentium Pro. It was the most important addition to the x86 ISA added by Pentium Pro. So CMOV was supported by Pentium Pro and its successors, like Pentium 2 or Pentium III, but it was not supported by Pentium, Pentium with MMX or AMD K6 CPUs. AMD has added CMOV starting with Athlon…

This article is missing the important reference to the prior work by Edelkamp and Weiss, on branchless quicksort [1]. I've long since implemented that in pdqsort [2], along with other techniques described by me in [3] which is a drop-in replacement for std::sort that's ~twice as fast as std::sort for small data with branchless comparisons. It's also available in Boost.sort [4]. [1] https://arxiv.org/abs/1604.06697 [2] https://github.com/orlp/pdqsort [3] https://arxiv.org/abs/2106.05123 [4]…

(2020) Popular in: 2021 (134 points, 62 comments) https://news.ycombinator.com/item?id=27863689 2024 (174 points, 75 comments) https://news.ycombinator.com/item?id=41314039

gnabgib·3-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
329

reference only — not used in Hall rules or ranking

Total comments
138

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2020-08-26Do Low-Level Optimizations Matter? (2020)eklitzke20
2021-03-04Do low level optimizations matter?pilom150
2021-07-16Do Low-level Optimizations Matter? (2020)todsacerdoti10
2021-07-17Do Low-Level Optimizations Matter? (2020)First breakoutsigna1113462
2024-08-21Do low-level optimizations matter? Faster quicksort with cmov (2020)Best thread · Latest 20+ point returnfanf217475
2025-11-20Do low-level optimizations matter?fanf231