go-cache icon indicating copy to clipboard operation
go-cache copied to clipboard

Add Memoize

Open clitetailor opened this issue 6 years ago • 2 comments

This is convenient when you need to lazily compute a function. There's one problem, If the compute function takes a lot of time to process, it will lock the whole map until it finish.

clitetailor avatar Oct 26 '19 03:10 clitetailor

Found this fork: https://github.com/arp242/zcache

pablodz avatar Jan 03 '24 02:01 pablodz

@pablodz I'm glad you found my fork useful! But commenting on tons of (old) PRs isn't too brilliant, especially when the patches (like this one) aren't even included in the fork.

arp242 avatar Jan 03 '24 12:01 arp242