Hacker News new | ask | show | jobs
by _hrfd 3281 days ago
You're forgetting probably the most important optimization: block partitioning. This one alone makes it almost 2x faster (on random arrays) than typical introsort when sorting items by an integer key.