Cached fib sequence
16 people like thisPosted: 13 years ago by Dmitri Pavlenkov
This is more generic variant of http://www.fssnip.net/c4 if you want to memoize over different functions / code paths that calls the same to-be-cached-code.
6 people like thisPosted: 8 years ago by Tuomas Hietanen
A generic, thread-safe version of a MemoryCache based on ConcurrentDictionary, and a memoize function implemented using the MemoryCache.
1 people like thisPosted: 6 years ago by Aaron Eshbach
Basic thread-safe timed-expiry cache, implemented as a MailboxProcessor.
5 people like thisPosted: 13 years ago by Yusuf Motara
This is variant of http://www.fssnip.net/sA that is having a time-out. You may want to use this if you e.g. cache a database query result or other mutable data source.
3 people like thisPosted: 8 years ago by Tuomas Hietanen