-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
Hi! I recently picked up cached and it enabled me to very quickly set up some caches for hot functions. I think this project is awesome.
As I began to optimize the rest of my codebase, it quickly became clear that cloning cached values was a bottleneck (mostly just the memory allocation, I was storing Vec<String>). After some thought, I realized that my use case could live off of references to the cached values.
I believed that cached doesn't support this sort of behavior; is it something you would consider adding? I am happy to help with implementation / flesh out the proposal a bit if it seems in scope for this project.
Thanks for building this in the first place!
Metadata
Metadata
Assignees
Labels
No labels