Painless Caching, Memoization for .NET (explodingcoder.com)
submitted by
spoulson(255) 4 days, 16 hours ago
When searching for .NET discussions of I-don't-even-remember, I somehow came across Dustin Campbell's blog post about automatic memoization with C#. I instantly remembered first reading about this topic in Higher Order Perl, which at the time introduced me to this handy technique using the delegate pattern. After looking over Dustin's code, I liked the simplicity of wrapping any delegate with a single method call. This makes for an academic discussion, but I thought this could be much more practical if we abstracted the concept a bit more.
read more...
|
category: C#
|
Views: 31
tags:
C# another
Everyones tags:
Your Tags: