Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace internal Stream usage with for loops #7154
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.
Thanks for the offer @kostya05983!
A search shows the following locations contain an import to stream APIs. Note that we should only change private internal code. Please note: