Lite^3, a JSON-Compatible Zero-Copy Serialization Format

17 points by andyc


manuel

Interesting, but apparently doesn't work if object keys have a hash collision, so not really production-ready.

https://lite3.io/design_and_limitations.html#hash-collisions

P.S. According to a comment by the author on HN, hash collisions are no longer an issue: https://news.ycombinator.com/item?id=46323803

c-cube

I'll port my HN comment from a few days ago:

It's a bit unfortunate that 1 doesn't seem to mention Fleece2, since Fleece is an already existing, solid format with very similar properties (JSON-compatible data format, uses offsets for sharing, allows for cheap updates, and uses binary search on arrays to achieve O(ln n) lookups in large tables or arrays, etc.)

robey

If you're looking for details, the closest I could find was here, but it's really just hand-waving conceptual diagrams, not the actual format description: https://lite3.io/design_and_limitations.html#autotoc_md29