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

Use dedicated methods for steps in executor #2017

Merged
merged 3 commits into from
Nov 22, 2023

Conversation

kyri-petrou
Copy link
Collaborator

@kyri-petrou kyri-petrou commented Nov 22, 2023

Followup of #2015.

Also, I really don't understand why, but these changes seem to have improved performance of Execution benchmarks by ~5% ❓ My only guess is that having them as dedicated methods allows the JVM to apply optimizations better, although I could be wrong on that front - however that's just a speculation

EDIT: Nevermind, I (think) I know why. It's likely because I placed QuerySteps in the loop pattern matching above ObjectSteps (which is a more optimized way to do it I believe)

@kyri-petrou kyri-petrou merged commit 8db6b8c into series/2.x Nov 22, 2023
10 checks passed
@kyri-petrou kyri-petrou deleted the extract-executor-methods branch November 22, 2023 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants