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

Tweak the Router#translate #7083

Merged
merged 1 commit into from Apr 23, 2023
Merged

Conversation

danicheg
Copy link
Member

This removes a redundant check that the prefix corresponds to the request's path. It's nothing impressive but a 10% improvement in throughput.

@mergify mergify bot added series/0.23 PRs targeting 0.23.x module:server labels Apr 23, 2023
@danicheg danicheg added the performance-tweak Relates to the improvements in performance without API changes label Apr 23, 2023
@hamnis hamnis merged commit d9fe6b6 into http4s:series/0.23 Apr 23, 2023
16 checks passed
@danicheg danicheg deleted the router-tweak branch April 23, 2023 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:server performance-tweak Relates to the improvements in performance without API changes series/0.23 PRs targeting 0.23.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants