News for hackers. Stuff that matters.
Re:MessagePack - Extremely efficient object serialization li... by houseabsolute on Friday March 19, 2010 @04:09AM (#1203650)
I don't understand why JSON would get faster for larger types. Anyway a 524 byte type is already fairly large.
Re:MessagePack - Extremely efficient object serialization li... by jrockway on Friday March 19, 2010 @10:55AM (#1204257)
No, the compression algorithms begin to behave as well as hand-optimized binary protocols as the message size increases, because the constant overhead for mapping away the redundancy becomes a small percentage of the overall message.
Re:MessagePack - Extremely efficient object serialization li... by houseabsolute on Friday March 19, 2010 @01:04PM (#1204568)
But if just building the JSON representation already takes more time than the binary protocol, I can't see how adding gzip to it is going to make it faster.