when do we really benfit from java stream.unordered()?
java streams has this method unordered(). I am not sure when this method will really enhance the performance of the program. someList.stream.unordered() //here List is any way ordered and using unordered() is not going to make the list unordered, so the usage of unordered() has no effect. someSet.stream.unordered() //here set is any way NOT ordered… Read More when do we really benfit from java stream.unordered()?