Y
Hacker News
new
|
ask
|
show
|
jobs
by
anonymoushn
924 days ago
For string keys, I think you could do multi-key quicksort with almost no branches, but the partitioning becomes more troublesome because you need to separate elements that are <, =, and > your pivot.