You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
src | 3 years ago | |
Cargo.toml | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago |
README.md
Simple Flash Key Value store
Tries to keep flash wear low and speed high by continuously appending data, automatically erasing and rewriting when full.
Store requirements
- Reading must be possible by memory-mapping a
&[u8]
slice - Must support
erase()
for compaction, - Writing must support
program()
with an offset and&[u8]
payload
For details see trait StoreBackend
.
Ideas
- iterator (quadratic)
- compaction to a second backend instead on stack
- StoreBackend-configurable erased data detection