3 ms·
Benchmark: How Java 8 Lambdas and Streams Can Make Your Code 5 Times Slower
- dozzie 11y agoHigher-level parts of Java were almost always strapped in obnoxious way to the language, so it's not a surprise they perform terribly. What is a surprise is that foreach loop behaves properly.