3 ms·
JSON cannot be efficient for binary data or even utf8 strings because it needs escaping which means you can't have a zero-copy implementation. CBOR is better in
by the8472 4y ago
JSON cannot be efficient for binary data or even utf8 strings because it needs escaping which means you can't have a zero-copy implementation. CBOR is better in that regard, yeah.
- ilyt 4y agoAll it needs to beat is stringifying and formatting that /proc|/sys already does