News for hackers. Stuff that matters.
Re:Fleece: A super-fast, compact, JSON-equivalent binary dat... by jvalencia on Thursday December 07, 2023 @12:09PM (#38558921)
How does it compare to: https://msgpack.org/index.html ?
Re:Fleece: A super-fast, compact, JSON-equivalent binary dat... by c-cube on Thursday December 07, 2023 @05:18PM (#38562602)
It seems to be maybe a bit less compact in terms of absolute number of bytes, but faster to parse. That is, parsing is just one-pass validation, and then data can be read directly from the buffer without an intermediate structure, with random access. It also has a notion of "pointer" so you can introduce sharing (a smart-ish encoder might use that to reuse common keys or strings, making the result smaller).