Skip to content

Conversation

@jorgbrown
Copy link
Contributor

Merge release branch 21.x in to main

zhangskz and others added 27 commits November 1, 2022 13:44
…#10845)

* Add bazel php:release target for PECL tgz using generated package.xml

* move targets from php/ext/google/protobuf to php packages since this breaks dist_files and add utf8 license file

* Remove package.xml form Makefile.am

* add files to Makefile.am
… of fields.

Changes to make this improvement:
1) All non-repeated builder fields (including maps) now have a presence bit regardless of syntax.
2) The buildPartial method is split into one method per 32-field block (aligned with bit-mask ints)
3) If a presence bit-mask int is set to 0, no fields are present, so we can skip the logic for all of those fields in the buildPartial step.

For messages with a lot of fields (> 100) that are sparsely populated this can result in a significant improvement. Not only does it potentially skip a lot of field copying logic, but also breaks the buildPartial method into chunks that should be more easily digested by the JIT compiler as discussed in this issue: #10247.

PiperOrigin-RevId: 485952448
Use bit-field int values in buildPartial to skip work on unset groups of fields.
Omitting this step was leading to stale cached versions of nested messages.
See #10624
This will be used in verfication of #10624
…d-builder-fix

Fix stale cached submessages by marking nested builder as clean after clear is called
Add public modifiers to kotlin code
CocoaPods/CocoaPods#11558 is causing this GHA to fail. It has been resolved in main, but this will continue to fail until a release is out and we migrate to it.
My previous attempt to do this #11068 (comment) missed this instance.
Add "public" modifier to Kotlin generated code
@jorgbrown jorgbrown added the mergeable:force-allow Break-glass label to allow merging PRs directly without Copybara. label Dec 3, 2022
@jorgbrown jorgbrown merged commit ca561b0 into main Dec 3, 2022
@zhangskz zhangskz deleted the main-202212021626 branch February 10, 2023 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mergeable:force-allow Break-glass label to allow merging PRs directly without Copybara.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants