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.20.x) #10666

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 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 (3.20.x) Sep 27, 2022
@mkruskal-google mkruskal-google merged commit ae6d69d into protocolbuffers:3.20.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 kotlin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants