Results 163 comments of Matt Fowles Kulukundis

This is a side effect of the arena allocation strategy used by upb. There are also configurations of the existing python/C++ that would do the same thing (but it requires...

@ericsalo or @zhangskz do either of you know off hand if the moral equivalent of clone already exists in the python API?

You are right that it is uintuitive. It also is (unfortunately) a side effect of one the major sources of performance. So it is very hard to have it both...

I suspect that upcoming build system work will interact with this and may even fix it

While true, keeping protobuf clean of all warnings in all build configurations is not something we try to do. Simply put, it is too much.

Internal is easier and yes. We won't spin a new release for it though

A high cost option in this space is to migrate to something based on https://github.com/protocolbuffers/upb Protobuffer team is working on various aspects of this as part of long term strategies....

gRPC already does some of this https://github.com/grpc/grpc/tree/master/third_party/upb

if you offer a PR with a cherry-pick to the 21.x branch, we pick it up whenever we make a release. No such release is planned at the moment

Honestly, it is kind of a pain to port the tests back to 21.x. We recently redid our testing system to be much faster and more reliable, but it did...