February 2014
Beginner
1248 pages
62h 25m
English
In Section 7.15, we used class Arrays’s static method sort to sort an array and we introduced static method parallelSort for sorting large arrays more efficiently on multicore systems. Figure 23.28 uses both methods to sort 15,000,000 element arrays of random int values so that we can demonstrate parallelSort’s performance improvement of over sort on a multi-core system (we ran this on a dual-core system).
Read now
Unlock full access