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

Reduced mildly expensive HttpMethod.is calls by reordering boolean logic #10618

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

lorban
Copy link
Contributor

@lorban lorban commented Sep 29, 2023

Worth between 1 and 2% of perf.

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
@lorban lorban self-assigned this Sep 29, 2023
@lorban lorban requested a review from sbordet September 29, 2023 15:49
@lorban lorban added this to the 12.0.x milestone Sep 29, 2023
@sbordet sbordet merged commit 5b1c0b8 into jetty-12.0.x Sep 29, 2023
2 of 4 checks passed
@sbordet sbordet deleted the jetty-12.0.x-faster-conditions branch September 29, 2023 15:51
sbordet added a commit that referenced this pull request Oct 2, 2023
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
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