Re: [protobuf] Re: Add serialization method right to Builder (Java)?

2016-09-12 Thread Nickolay Mazurkin
https://github.com/google/protobuf/issues/2108 -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group,

Re: [protobuf] Re: Add serialization method right to Builder (Java)?

2016-09-12 Thread Nickolay Mazurkin
> Can you help create a github issue to track it? > > Currently protobuf generated code size is already a problem for large > binaries. Adding this Builder.writeTo() method will require another > generated serialization method and that probably won't going to happen > until we solve the code

Re: [protobuf] Re: Add serialization method right to Builder (Java)?

2016-09-12 Thread 'Feng Xiao' via Protocol Buffers
On Mon, Sep 12, 2016 at 11:07 AM, Nickolay Mazurkin wrote: > I've created a test: https://github.com/mazurkin/protobuf-test > > This is a monster bean: https://github.com/mazurkin/ > protobuf-test/blob/master/src/main/config/proto/BeanProto.proto > > This is a test: https://github.com/mazurkin/pr

[protobuf] Re: Add serialization method right to Builder (Java)?

2016-09-12 Thread Nickolay Mazurkin
I've created a test: https://github.com/mazurkin/protobuf-test This is a monster bean: https://github.com/mazurkin/protobuf-test/blob/master/src/main/config/proto/BeanProto.proto This is a test: https://github.com/mazurkin/protobuf-test/blob/master/src/test/java/org/test/ProtoTest.java Result