view README.md @ 271:26d6f6e1da7d

table_builder: Implement size_estimate()
author Lewin Bormann <lbo@spheniscida.de>
date Thu, 21 Sep 2017 16:04:25 +0200
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.