cordoba

Crates.iocordoba
lib.rscordoba
version0.3.4
sourcesrc
created_at2018-05-25 01:40:54.535028
updated_at2020-09-08 18:09:39.464215
descriptionZero-copy and mmapable CDB access library with a Python interface
homepagehttps://github.com/jothan/cordoba
repositoryhttps://github.com/jothan/cordoba.git
max_upload_size
id66955
size71,234
Jonathan Bastien-Filiatrault (jothan)

documentation

README

cordoba zero-copy CDB access library

The CDBReader is mostly intended for operating over an mmaped byte slice. For small files, loading the whole file in memory is also an option.

The file access implemented on any type that is Read + Seek does no optimization beyond removing redundant seeks. If BufReader is used, a rather small buffer size is recommended as hash table reads are done on every value access.

API Documentation

Planned features

In order of priority.

  • Python interface with PyO3.
  • Generic cdb executable mostly compatible with tinycdb.
  • Make the CDB layout generic and customizable allowing files greater than 4 GiB or alignement for keys and values.
Commit count: 118

cargo fmt