6 ms·
Or, since we have enough cores, run both in two parallel threads, keeping the original list read-only.
by anonymous 13y ago
Or, since we have enough cores, run both in two parallel threads, keeping the original list read-only.
- crb002 13y agoOr distribute out the median_5() work to many cores at once since each call is independent of the others.