Skip to content

Replace internal Stream usage with for loops #7154

Closed
@rwinch

Description

@rwinch

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: ideal-for-contributionAn issue that we actively are looking for someone to help us with

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions