digitalmars.D.announce - cache.d
- Nathan M. Swan (6/6) Feb 11 2012 I've created a utility for creating caches of function calls; I imagine
- Brad Anderson (6/12) Feb 11 2012 The more specialized term for this is memoization. It'd be
- Vladimir Panteleev (3/15) Feb 11 2012 http://dlang.org/phobos/std_functional.html#memoize
- Brad Anderson (5/22) Feb 11 2012 Oh, nice.
- Jonathan M Davis (3/17) Feb 11 2012 It is. std.functional.memoize.
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
Feb 11 2012
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/cachedThe more specialized term for this is memoization. It'd be useful to have in the standard library, in my opinion. Regards, Brad Anderson
Feb 11 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:http://dlang.org/phobos/std_functional.html#memoizeI'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/cachedThe more specialized term for this is memoization. It'd be useful to have in the standard library, in my opinion.
Feb 11 2012
On Sat, Feb 11, 2012 at 1:36 AM, Vladimir Panteleev < vladimir thecybershadow.net> wrote:On Saturday, 11 February 2012 at 08:34:33 UTC, Brad Anderson wrote:Oh, nice. Regards, Brad AndersonOn Saturday, 11 February 2012 at 08:20:37 UTC, Nathan M. Swan wrote:http://dlang.org/phobos/std_**functional.html#memoize<http://dlang.org/phobos/std_functional.html#memoize>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 <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.
Feb 11 2012
On Saturday, February 11, 2012 09:34:32 Brad Anderson wrote:On Saturday, 11 February 2012 at 08:20:37 UTC, Nathan M. Swan wrote:It is. std.functional.memoize. - Jonathan M DavisI'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/cachedThe more specialized term for this is memoization. It'd be useful to have in the standard library, in my opinion.
Feb 11 2012