Tiki personal blog

Your code is fast if you're lucky

Recently, while working on an optimized Quicksort implementation, I came across a rather interesting quirk. Modern compilers (especially Clang) optimize loops using fast, branch-free instructions - provided you use the right programming style.
Points
136
HN comments
85
Submissions
1
Cited by
0 commenters

Software EngineeringSystems & Performance2026

On Hacker News

SubmittedTitle on HNPointsComments
Jul 11, 2026Your code is fast if you're lucky by chrka13685

More from Tiki

All 2 posts →

Related posts from the same era