Crates.io | array_cow |
lib.rs | array_cow |
version | 0.1.0 |
source | src |
created_at | 2017-03-19 13:52:17.232333 |
updated_at | 2017-03-19 13:52:17.232333 |
description | In memory array de-duplication, useful for efficient storing of a history of data versions. |
homepage | https://github.com/ideasman42/array-cow-rs |
repository | |
max_upload_size | |
id | 9041 |
size | 195,597 |
In memory array de-duplication, useful for efficiently storing many versions of data.
This is suitable for storing undo history for example, and is effective with both binary and text data.
Configurable block sizes.
Supports array-stride to avoids overhead of detecting blocks and un-aliened offsets. (a stride of 1 for bytes works too)
Uses block hashing for de-duplication.
Each state must only reference its previous, making both linear and tree structures possible.
It may be worth using mmap
for data storage.