···2233Pure OCaml B-tree implementation for persistent storage.
4455+> **Note:** This library currently implements SQLite's specific B-tree file
66+> format (page layout, varint encoding, record serialisation). It is not a
77+> generic B-tree library. A future version may abstract the serialisation
88+> scheme to support other formats.
99+510## Overview
61177-A B-tree implementation supporting SQLite-compatible page-based storage:
1212+A B-tree implementation using SQLite's page-based storage format:
813914- **Table B-trees**: 64-bit integer keys with data in leaves
1015- **Index B-trees**: Arbitrary keys, no data (for secondary indexes)
···9610197102## Related Work
981039999-- [SQLite](https://www.sqlite.org/fileformat.html) - Reference B-tree implementation
104104+- [SQLite file format](https://www.sqlite.org/fileformat.html) - The specification this library implements
100105- [Limbo](https://github.com/tursodatabase/limbo) - Rust SQLite implementation
101101-- [ocaml-btree (ctk21)](https://github.com/ctk21/ocaml-btree) - In-memory B-tree
106106+- [ocaml-btree (ctk21)](https://github.com/ctk21/ocaml-btree) - Generic in-memory B-tree (different use case)
102107103108## License
104109