Skip to content

Conversation

robbelouwet
Copy link

No description provided.

@robbelouwet
Copy link
Author

The cache caches values by reference and not by value. I recommend caching by value (aka cache deep copies instead of a reference to the object) to avoid very weird behavior. I've been a developer for a long time, and I've rarely facepalmed because of an issue I just couldn't get like this :).

doubledare704 added a commit to doubledare704/async-cache that referenced this pull request Apr 21, 2025
doubledare704 added a commit to doubledare704/async-cache that referenced this pull request Apr 21, 2025
@doubledare704
Copy link

Seems like this project is in passive state.
I've forked this repo and added you pr as new feature there.
https://github.com/doubledare704/async-cache
already deployed to pypi
@robbelouwet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants