cache.d

Vladimir Panteleev vladimir at thecybershadow.net
Sat Feb 11 00:36:59 PST 2012


On Saturday, 11 February 2012 at 08:34:33 UTC, Brad Anderson 
wrote:
> On Saturday, 11 February 2012 at 08:20:37 UTC, Nathan M. Swan 
> wrote:
>> I've created a utility for creating caches of function calls; 
>> I imagine it being used for time-consuming functions which are 
>> often called with the same arguments several times.
>>
>> Any suggestions?
>>
>> Here's the website:
>> https://github.com/carlor/cached
>
> The more specialized term for this is memoization.  It'd be 
> useful to have in the standard library, in my opinion.

http://dlang.org/phobos/std_functional.html#memoize


More information about the Digitalmars-d-announce mailing list