Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
kccqzy
1y ago
0 comments
Save
Share
The median-of-median comes at a cost for execution time. Chances are, sorting each five-element chunk is a lot slower than even running a sophisticated random number generator.
0 comments
2 comments · 2 top-level
top
newest
oldest
Quekid5
1y ago
Slowness (lower throughput) is often the tradeoff for more predictable run time.
forrestthewoods
1y ago
Did you read the article? Median-of-median results in fewer comparisons than random.
j
/
k
navigate · click thread line to collapse