Iterating over a List to Filter specific Element's in Java 8 with Lambdas is List size independent. This means that it doesn't matter how big youre list is, with lambda it is fast on every size, nearly the same speed.
Please check out my Github Project: https://github.com/rkunas/java-list-map-set
If we now run this Code we are getting the following result.
In our Example here with 1000000 elements the Lambda Code is double time faster then the standard way.