Hacker News new | ask | show | jobs
by initbar 2185 days ago
I had worked on a open source project called 'safecache' on the similar note. As others has already commented, @lru_cache does not play well with mutable data structures. So my implementation handles for both immutable and mutable data structures as well as multi-threaded operations.

https://github.com/Verizon/safecache

1 comments

Thanks for this.