C:\test>sort --version
sort (GNU textutils) 2.0
Written by Mike Haertel.
Are sort operations usually CPU bound?
The in-memory sort stages certainly are. If you overlap the sorting of one batch with the reading of the second, you save some time.
Have one thread reading/or writing and 1/3/7/15/... threads sorting, you save more time.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
|