News for hackers. Stuff that matters.
Re:MessagePack: It's like JSON, but fast and small. by dallbee on Saturday January 11, 2025 @06:58PM (#42669972)
A trick I often use to get the most out of messagepack is using array encoding of structs. Most msgp libraries have support for this.

This gives you a key benefit of protobuf, without needing external schema files: you don't have to pay the space of the keys of your data.

This is simply not something you can do with JSON, and depending on your data can yield substantial space savings.

There are no comments on this comment yet.