Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
kccqzy
1y ago
0 comments
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
default
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