3 ms·
No, the compression algorithms begin to behave as well as hand-optimized binary protocols as the message size increases, because the constant overhead for mappi
by jrockway 17y ago
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.
- houseabsolute 17y agoBut 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.