asset_lru

Crates.ioasset_lru
lib.rsasset_lru
version0.1.3
sourcesrc
created_at2021-10-24 18:29:24.120837
updated_at2021-12-12 22:04:05.357989
descriptionA two-level cache for objects which are bigger in memory than on disk
homepage
repositoryhttps://github.com/ahicks92/asset_lru
max_upload_size
id470507
size40,286
Austin Hicks (ahicks92)

documentation

https://docs.rs/asset_lru/

README

asset_lru

Actions

docs

Sometimes you want to cache assets from disk or somewhere else expensive. Sometimes those assets are much smaller as compressed/encoded bytes. This crate provides a reasonably smart strategy for such cases, where the encoded bytes are cached in memory as well as the decoded object.

This is very new, but with good code coverage via unit tests.

Commit count: 36

cargo fmt