Skip to content

Lite3 1.1.0

Latest

Choose a tag to compare

@sandover sandover released this 21 Nov 02:11
1934c2a

Lite3 1.1.0 is the first tagged source release. It keeps the existing binary format and C interfaces, and adds two opt-in APIs for building and publishing buffers.

  • Faster construction. The context decoder parses JSON once when the output buffer grows. Array appends follow the rightmost branch directly.
  • Bulk integer arrays. lite3_init_i64_array builds a root array from a span of signed 64-bit integers. Its output supports the ordinary Lite3 getters, iterator, and edits.
  • Explicit compaction. lite3_compact_copy copies live entries into a separate caller-owned buffer so abandoned bytes from earlier edits need not travel with the next copy.
  • Reader and build fixes. Reader node checks cover bounds and alignment. Software prefetch is off by default and remains available as a bounded opt-in. CI tests and builds the installed static library on Linux and macOS.

Compatibility. Existing Lite3 buffers remain readable. The new APIs write ordinary Lite3 buffers. We verified that the previous upstream C library reads and edits bulk-built and compacted output.

Install from source. Download a source archive from this release and follow the installation instructions. A staged installation reports 1.1.0 through pkg-config --modversion lite3.

Production changes are in #24.