+ 1
What's the difference between Arrays.sort() and Arrays.parallelSort() ?
When to use parallelSort()?
2 Respuestas
0
arrays.sort() means sorting an arry in ascending or in reverse order, e.g. 3,4,1,2 it will become 1,2,3,4 in ascending format
0
you should use parallelsort when your sort method is taking time to sort or you have very large set of element in an array. make sure you hav cpu or core free bcz parallelsort is resource consuming