Re:MessagePack: like JSON, but fast and small
by blattimwind on Tuesday March 10, 2020 @01:40PM
(#22537578)
One particular advantage of msgpack is that it allows embedding binary data without binary-to-text overhead (~30 %). I don't really see msgpack as something that makes much sense to use inside a browser, though.
[ Parent
| on HN ]
Re:MessagePack: like JSON, but fast and small
by hinkley on Tuesday March 10, 2020 @03:56PM
(#22538999)
First piece of software I ever wrote was a base92 encoder. When I looked at b64 is was even worse than the 3:4 I had been told.
B64 as originally used (with an extra >2.6% for line splitting) is handily over 35%. As we use it now itβs still a bit over 33%, because of the == endings to detect truncation... 66% of the time.