Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid java.util.stream.Stream usage in hot paths #22341

Closed
bclozel opened this issue Feb 4, 2019 · 0 comments
Closed

Avoid java.util.stream.Stream usage in hot paths #22341

bclozel opened this issue Feb 4, 2019 · 0 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@bclozel
Copy link
Member

bclozel commented Feb 4, 2019

Profiling sessions show that using java.util.stream.Stream in some hot paths is not really required and creates a lot of garbage, because those are likely to be called once or multiple times per request.

We should reconsider those and rewrite them with imperative style where possible.

@bclozel bclozel added the type: task A general task label Feb 4, 2019
@bclozel bclozel added this to the 5.2 M1 milestone Feb 4, 2019
@bclozel bclozel self-assigned this Feb 4, 2019
@bclozel bclozel closed this as completed in 862fa55 Feb 5, 2019
bclozel added a commit that referenced this issue Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant