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

Address the entity model in the Client#fromHttpApp #6325

Merged
merged 1 commit into from Apr 25, 2022

Conversation

danicheg
Copy link
Member

Sorry for annoying with that kind of PRs, but I believe they bring some performance enhancements. Though I don't give the numbers to support my points, it just goes from common sense and looks natural.

Copy link
Member

@rossabaker rossabaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this needs the Ref unless the body is a Stream, but this is progress.

@danicheg
Copy link
Member Author

@rossabaker Yeah, I was thinking about this too. The current implementation is using a single Ref within checking/processing bodies of request and response. Basically, it's a matrix 2x2, and there is only one case where we won't create Ref. Probably, it's worth pushing forward, but I'm happy if we can do it iteratively.

@danicheg danicheg merged commit 27e83aa into http4s:main Apr 25, 2022
@danicheg danicheg deleted the entity-model-client branch April 25, 2022 08:23
@rossabaker rossabaker added the behind-the-scenes Appreciated, but not user-facing label May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
behind-the-scenes Appreciated, but not user-facing module:client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants