vtpcache: Tiny, Persistent Cache for V
April 24, 2021 ยท View on GitHub
vtpcache: Tiny, Persistent Cache for V
vtpcache is a key-value, time-based cache with data persistence for V.
- Tiny. Implemented in less than 150 SLOC
- Simple. Easily embeddable on any V program with few LOC (see example.v)
- Persistent. Saved data can be retrieved at any given point
- As fast as your IO rates.
vtpcachecan be very performant on SSDs
Installation
Via VPM:
v install caiertl.vtpcache
How It Works
TODO
License
To the extent possible under law, Caian Rais Ertl has waived all
copyright and related or neighboring rights to this work. In the spirit of
freedom of information, I encourage you to fork, modify, change, share, or do
whatever you like with this project! ^C ^V