You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug fixes:
- Encoder: deep-copy string/blob value data to prevent use-after-return
when JSON encoder passes stack-allocated buffers (root cause of CI
flaky test on ubuntu-latest/clang)
- JSON decoder: fix heap-buffer-overflow in segment dedup
- Bitstream: fix UB in zigzag encode (left-shift of negative int64_t)
New features:
- CLI tool: trp encode/decode/validate commands with stdin and -o support
- Native Python binding with 70 tests
- Complex JSON example (json_complex.c)
- 3 new C test files, expanded edge-case coverage (~400 total tests)
- README: CI/coverage/license badges, roadmap, updated bindings table
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
A compressed trie-based dictionary format for fast, compact key-value storage.
4
8
5
9
TriePack encodes dictionaries into a compact binary format (`.trp`) optimized for fast lookups, prefix search, and ROM-safe deployment. It uses prefix sharing and bit-level packing with configurable symbol encoding and full value type support.
@@ -94,16 +98,16 @@ Each layer can be used independently. `triepack_wrapper` provides C++11 RAII wra
94
98
95
99
## Language Bindings
96
100
97
-
Native implementations (not FFI) are planned for:
101
+
All bindings are native implementations that read/write the `.trp` format directly (no FFI).
@@ -126,9 +130,28 @@ See `docs/internals/` for format details.
126
130
127
131
## Project Status
128
132
129
-
**v1.0.0 released.** The bitstream library, trie codec, and JSON library are fully implemented. All 22 tests pass (16 unit test suites + 6 example integration tests). Run `compaction_benchmark` to see compression ratios on ~10k generated words.
133
+
**v1.0.5 released.** Core C library (bitstream, trie codec, JSON), C++ wrappers, Python binding, and JavaScript binding are implemented. 27 test programs with ~400 individual tests across C, C++, and Python.
0 commit comments