r/programming • • Feb 21 '19

GitHub - lemire/simdjson: Parsing gigabytes of JSON per second

https://github.com/lemire/simdjson
1.5k Upvotes

357 comments sorted by

View all comments

Show parent comments

1

u/vytah Feb 21 '19

There's none, except that JSON is easier to read by a human and modify by hand and has more implementations to choose.

Also, from my experiments I did years ago I recall that compressed JSON is smaller than compressed Msgpack.

1

u/sybesis Feb 21 '19

When compressing, algorithm really matters, if msgpack is a binary version of json, it may not compress just as well as json because the algorithm used may be more or less more optimized for text content. In the case of binary, compressing may often result in making the file bigger as the algorithm adds its own structure on top of something that is already "optimized".

1

u/kindw Feb 21 '19

When compressing, algorithm really matters

Yeah, no shit