linhash 0.1.0

Linear Hashing implementation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# LinHash

Linear Hashing implementation in Rust.

## What's good about Linear Hashing?

- It is a on-disk data structure to maintain a key-value mapping.
- It doesn't use RAM except temporary buffers.
- Since queries need only one or two reads from the disk, it is very fast.
- The query performance doesn't depend on the database size.
- The algorithm is simple and elegant.

## Feature Gates

| flag | default | description |
| -- | -- | -- |
| hash | on | If disabled, 64 bit from the given key is taken as a hash, eliminating the cost of hashing. |
| delete | on | Enable deletion. Disable deletion optimize insertion because holed pages can't exist. |