Closed
Description
Summary
While some prefer the readability of using the Stream APIs, the GC overhead of creating additional objects (including intermediate objects) can cause significant decrease in performance There are some simple benchmarks that illustrate the problem.
We should replace Stream usage with for loops throughout Spring Security's code base.
Related gh-7155