Re:Greplin (YC W10) open sources 10-15x faster protocol buff...
by btilly on Thursday January 27, 2011 @01:07AM
(#2146803)
It would be interesting to know why a portable, cross-language serialization format beats out the language-specific one.
Odds are that it is because the language-specific one supports features that the portable one does not. A feature I'd be particularly suspicious of is, "Did we already encounter this data structure and serialize it?" Supporting that feature means tracking a LOT of information during the serialization process, whether or not you get to use it.
Odds are that it is because the language-specific one supports features that the portable one does not. A feature I'd be particularly suspicious of is, "Did we already encounter this data structure and serialize it?" Supporting that feature means tracking a LOT of information during the serialization process, whether or not you get to use it.