[protobuf] Re: Issue 588 in protobuf: Add delta mechanism to the encoding

2013-12-23 Thread protobuf
Comment #2 on issue 588 by dotan1...@gmail.com: Add delta mechanism to the encoding http://code.google.com/p/protobuf/issues/detail?id=588 It's not exactly the same. The feature I present apply an assertion when calling "set" function(between the current and last message) to decide wheth

[protobuf] Re: Issue 588 in protobuf: Add delta mechanism to the encoding

2013-12-21 Thread protobuf
Comment #1 on issue 588 by Petteri.Aimonen: Add delta mechanism to the encoding http://code.google.com/p/protobuf/issues/detail?id=588 You can implement this yourself in your application: 1) In the .proto, declare all fields as optional. 2) On the encoder side, reset the message after every