Y
Hacker News
new
|
ask
|
show
|
jobs
by
anonymous
4610 days ago
Or, since we have enough cores, run both in two parallel threads, keeping the original list read-only.
1 comments
crb002
4609 days ago
Or distribute out the median_5() work to many cores at once since each call is independent of the others.
link