On Sat, Feb 11, 2012 at 1:36 AM, Vladimir Panteleev <span dir="ltr"><<a href="mailto:vladimir@thecybershadow.net">vladimir@thecybershadow.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Saturday, 11 February 2012 at 08:34:33 UTC, Brad Anderson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Saturday, 11 February 2012 at 08:20:37 UTC, Nathan M. Swan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
<br>
Any suggestions?<br>
<br>
Here's the website:<br>
<a href="https://github.com/carlor/cached" target="_blank">https://github.com/carlor/<u></u>cached</a><br>
</blockquote>
<br>
The more specialized term for this is memoization.  It'd be useful to have in the standard library, in my opinion.<br>
</blockquote>
<br>
</div></div><a href="http://dlang.org/phobos/std_functional.html#memoize" target="_blank">http://dlang.org/phobos/std_<u></u>functional.html#memoize</a><br>
</blockquote></div><br><div>Oh, nice.</div><div><br></div><div>Regards,</div><div>Brad Anderson</div>