7 releases
0.3.0 | Dec 2, 2020 |
---|---|
0.2.0 | Nov 22, 2020 |
0.1.6 | Nov 14, 2020 |
0.1.0 | Oct 26, 2020 |
#395 in Compression
36 downloads per month
54KB
1K
SLoC
Compressible Map
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:
- Lz4
- Snappy
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.
Dependencies
~0.4–1.3MB
~28K SLoC