I'd like to announce the first release of cacache for Rust! https://crates.io/crates/cacache
cacache is an implementation of a content-addressable disk cache. It's fast, secure, concurrency-safe, and is also the cache for npm! The Rust version is fully compatible with the original!
So I finally got around to benchmarking cacache, and the results are in! The Rust version is literally *an order of magnitude* faster, for the same work.
18 *microseconds* per read, on the Rust side. That's also as fast as the *memoized* version on the Node side.
@zkat reading these is so fun honestly <3
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!