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

Refactoring Java parsing (22.x) #10664

Merged
merged 4 commits into from Sep 28, 2022

Conversation

mkruskal-google
Copy link
Member

Refactoring Java parsing paths to prefer merging directly from wireformat into message builders rather than building up new instances before merging. For the non-Lite implementation, do this by moving parsing from the “parse constructor” to the Builder.mergeFrom method. This is more performant with less code.

@mkruskal-google mkruskal-google added java java-lite kokoro:run kotlin jruby Issues unique to the JRuby interpreter labels Sep 27, 2022
@mkruskal-google mkruskal-google changed the title Refactoring Java parsing Refactoring Java parsing (22.x) Sep 27, 2022
@mkruskal-google mkruskal-google merged commit 0a12e94 into protocolbuffers:main Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java java-lite jruby Issues unique to the JRuby interpreter kotlin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants