4 ms·
Oh, I'm just advocating using a standard binary serialization format like MessagePack that is far more efficient, can easily represent binary data, and has a fa
by strags 15y ago
Oh, I'm just advocating using a standard binary serialization format like MessagePack that is far more efficient, can easily represent binary data, and has a far more obvious mapping to runtime data structures.
- seanp2k2 15y ago>"standard binary serialization format" Mmmm, yes, good luck with that :)
- strags 15y agoA man can dream.
- stock_toaster 15y agoIn most parsing comparisons I have seen, tnetstrings[1] is probably one of the faster textual formats to parse (and rather "safe" too). I have started using tnetstring (python module) for some backend message formats where I commonly use json, and it has been pretty great so far. (esp with gzip, snappy, bzip, lzma, or whatever compression fits your needs/tradeoffs) [1]: https://github.com/j2labs/cerealization https://github.com/j2labs/cerealization
- stock_toaster 15y agoIn most parsing comparisons I have seen, tnetstrings[1] is probably one of the faster textual formats to parse (and rather "safe" too). I have started using tnetstring[2] (python module) for some backend message formats where I commonly use json, and it has been pretty great so far. (esp with gzip, snappy, bzip, lzma, or whatever compression fits your needs/tradeoffs) [1]: http://tnetstrings.org/ http://tnetstrings.org/ [2]: http://pypi.python.org/pypi/tnetstring http://pypi.python.org/pypi/tnetstring [3]: https://github.com/j2labs/cerealization https://github.com/j2labs/cerealization