Crates.io | compressible-map |
lib.rs | compressible-map |
version | 0.3.0 |
source | src |
created_at | 2020-10-26 08:56:54.288554 |
updated_at | 2020-12-02 01:57:34.982533 |
description | A hash map that allows compressing the least recently used values. |
homepage | |
repository | https://github.com/bonsairobo/compressible-map |
max_upload_size | |
id | 305540 |
size | 61,839 |
A hash map that allows compressing the least recently used values. Useful when you need to store a lot of large values in memory.
Two compression backends are provided:
These can be used on any serializable values by setting:
features = ["compressed-bincode", "lz4"]
or
features = ["compressed-bincode", "snap"]
Or you can implement the Compression
trait in your own way.