Tag: parallel sorting

  1. Home
  2. Blog
  3. Tag: parallel sorting

Java SE 8 parallelSort in Arrays class

Arrays class now has several new “parallel” methods to take advantage of multi-core hardware. Arrays method parallelSort can sort large arrays more efficiently on multicore systems. Lets create a very large array and use Java SE 8 Date/Time API to compare how long it takes to sort the array with methods sort and parallelSort. SecureRandom random = new SecureRandom(); // […]

Continue Reading
Show Buttons
Hide Buttons