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

Half-recursive getProperties #992

Merged
merged 2 commits into from
Sep 8, 2023
Merged

Conversation

franz1981
Copy link
Contributor

@franz1981 franz1981 commented Sep 7, 2023

Startup measurement shows that the recursive nature of this method won't be handled nicely by the JIT interpreter: this change save recursion to happen unless more than a single property is found

@radcortez
Copy link
Member

Thanks! Apparently, CI is not happy :(

@franz1981
Copy link
Contributor Author

franz1981 commented Sep 7, 2023

@radcortez some silly logic mistake of mine...which I cannot reproduce locally

But I have some idea what I made wrong there; the idea is still, for single properties array to not have any recursive call, regardless the number of methods. Which seems a good thing anyway

@franz1981
Copy link
Contributor Author

I've left a comment on zulip which doesn't make this change so appealing :"/

Copy link
Contributor

@dmlloyd dmlloyd left a comment

Choose a reason for hiding this comment

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

Seems OK to me.

@radcortez radcortez marked this pull request as ready for review September 8, 2023 14:27
@radcortez radcortez merged commit 170642b into smallrye:main Sep 8, 2023
@github-actions github-actions bot added this to the 3.4.0 milestone Sep 8, 2023
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.

3 participants