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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 11, 2026 | Your code is fast if you're lucky by chrka | 136 | 85 |