memoize

Eric Poggel dnewsgroup2 at yage3d.net
Tue Jan 4 10:36:11 PST 2011


On 1/3/2011 11:15 PM, Andrei Alexandrescu wrote:
> I just added a higher-order function memoize to std.functional which I
> think is pretty cool. See the docs here:
>
> http://d-programming-language.org/cutting-edge/phobos/std_functional.html#memoize
>
>
> I'm also thinking of adding that cutting-edge directory as a place for
> storing documentation for commits that are in flux but not officially
> released yet.
>
>
> Andrei

If it's helpful to anyone, Yage has a similar D1 function called Cache:

http://dsource.org/projects/yage/browser/trunk/src/yage/core/cache.d


More information about the Digitalmars-d mailing list