I made a fork that handle cache capacity using entries size rather than entries number.
I found it useful to keep control of memory usage, when cache entries are collections or strings with different legths.
I don't think it is should be merged back (that's why an issue instead of a PR), but I was wondering if you'd like to take it as a contain-rs project. Let me know!
I made a fork that handle cache capacity using entries size rather than entries number. I found it useful to keep control of memory usage, when cache entries are collections or strings with different legths.
I don't think it is should be merged back (that's why an issue instead of a PR), but I was wondering if you'd like to take it as a
contain-rs
project. Let me know!