Mercurial > lbo > hg > leveldb-rs
view README.md @ 136:9db0c062d71c
Properly implement BlockIter::seek_to_restart_point() in one place
Up to this revision, two or three functions independently implemented the same functionality.
This revision also improves some documentation in `block`.
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Mon, 02 Jan 2017 11:52:13 +0100 |
parents | d6a5c7e8d40f |
children | f3d44aa3fbdf |
line wrap: on
line source
# leveldb-rs A fully compatible implementation of LevelDB in Rust. ## Status In development; most of the infrastructure exists, but the actual database logic has not yet been implemented. ## Goals Some of the goals of this implementation are * As few copies of data as possible; most of the time, slices of bytes (`&[u8]`) are used. Owned memory is represented as `Vec<u8>` (and then possibly borrowed as slice). * Correctness -- self-checking implementation, good test coverage, etc. Just like the original implementation. * Clarity; commented code, clear structure (hopefully doing a better job than the original implementation). * Coming close-ish to the original implementation; clarifying the translation of typical C++ constructs to Rust.