Protocol Buffers is great, but there's something I don't understand.

VarInt is great to store positive integers
sint32/64 are stored as "zigzag" VarInt

why int32/64 aren't stored as :
 1) VarInt when positive (type 0)
 2) NegativeVarIn when negative (a new type 6 that store the opposite
value as a positive VarInt)

Then you don't need to specify sint32/64 in the Message and integers
will be stored in the most efficient way each time, regardless of they
sign.

Regards from France
Paul TOTH

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to