[protobuf] Re: Suppressing invalid UTF-8 data warnings?

2024-09-10 Thread 'Em Rauch' via Protocol Buffers
I *think* if you use a proto2 syntax message it actually will not perform this check as of today (only proto3 syntax file). If that's not right, I unfortunately suspect the only way around it would be vendor the protobuf runtime into your codebase and comment out the check / log if its botherin

[protobuf] Re: Performance Improvement with Protobuf and UPB in Python and C++

2024-09-10 Thread 'Tony Liao' via Protocol Buffers
Hi Evan, Performance is something that will depend on the nature of your workload quite a lot, so it's hard to give advice without knowing more detail. Here are some recommendations that we tend to give: - Using arenas can reduce the cost of memory allocation. This can be especially impa