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 (3.16.x) #10668

Merged

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 jruby Issues unique to the JRuby interpreter labels Sep 27, 2022
@mkruskal-google mkruskal-google changed the base branch from main to 3.16.x September 27, 2022 22:57
@mkruskal-google mkruskal-google merged commit 42e47e5 into protocolbuffers:3.16.x Sep 29, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants