It's like JSON. but fast and small.
21–30 of 103 posts
Re: It's like JSON. but fast and small.
#22It looks cool, but be very careful about using it (in a browser, at least). Browsers have super-fast JSON parsers and parsing msgpack is much, much slower than parsing good old JSON. This great comment (from 201 days ago) is exactly about this issue: http://news.ycombinator.com/item?id=4091051 I quote a bit of it here: JSON size: 386kb MsgPack size: 332kb Difference: -14% Encoding with JSON.stringify 4 ms Encoding wi…
Re: It's like JSON. but fast and small.
#23Re: It's like JSON. but fast and small.
#24My own measurements: http://stackoverflow.com/questions/9884080/fastest-packing-o...
Re: It's like JSON. but fast and small.
#25Re: It's like JSON. but fast and small.
#26Re: It's like JSON. but fast and small.
#27Seems like this could be useful as an alternate API format. I'd like to see sites offering plist (bigger than JSON but dead simple parsing in Cocoa) and serialized formats as well as JSON and XML and all that.
Re: It's like JSON. but fast and small.
#28Re: It's like JSON. but fast and small.
#29> http://engineering.pinterest.com/posts/2012/memcache-games/
Re: It's like JSON. but fast and small.
#30It looks cool, but be very careful about using it (in a browser, at least). Browsers have super-fast JSON parsers and parsing msgpack is much, much slower than parsing good old JSON. This great comment (from 201 days ago) is exactly about this issue: http://news.ycombinator.com/item?id=4091051 I quote a bit of it here: JSON size: 386kb MsgPack size: 332kb Difference: -14% Encoding with JSON.stringify 4 ms Encoding wi…
The Pintrest testimonial on the msgpack website is a very good example of use case: serializing and de-serializing for memcache. The don't claim to be using it for browser-server communication.