3 ms·
If you want to transfer a significant amount of data and don' t need readability, using protobufs makes even more sense, since the key names do not go as string
by enitihas 7y ago
If you want to transfer a significant amount of data and don'
t need readability, using protobufs makes even more sense, since the key names do not go as string on the wire, so the data should be much smaller.
- ludocode 7y agoMessagePack lets you use integers for keys, so you can use enums or integer constants in the code instead of strings. There are good reasons to use MessagePack over Protobuf even if you don't need readability, such as easier integration into buildsystems and better support for embedded platforms.