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

Internal refactoring to simplify response header logic #321

Merged
merged 2 commits into from
Jul 23, 2018

Conversation

clue
Copy link
Member

@clue clue commented Jul 23, 2018

This simple PR refactors internal response header processing to simplify logic and avoid duplicate assignments. The main motivation for this is a preparation for #39, but this also happens to improve performance slightly (from ~7000 req/s to ~7100 req/s on my local machine).

Builds on top of #317
Refs #39

@clue clue added this to the v0.8.4 milestone Jul 23, 2018
Copy link
Member

@WyriHaximus WyriHaximus left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@WyriHaximus WyriHaximus merged commit 882242e into reactphp:master Jul 23, 2018
@clue clue deleted the response branch July 23, 2018 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants