[Jprogramming] memoization good and bad for performance, can you flush it?

Roger Hui rogerhui.canada at gmail.com
Thu Oct 20 09:07:40 HKT 2011


M. is not very complicated.  I am at a loss re what to say.  What is
it you want to know?

   http://www.jsoftware.com/help/release/mcapdot.htm
The adverb M. has been implemented. See the dictionary page for
details. The current implementation retains results only for arguments
that are small non-negative integer atoms.

   http://www.jsoftware.com/help/dictionary/dmcapdot.htm
u M. is the same as u but may keep a record of the arguments and
results for reuse. It is commonly used for multiply-recursive verbs.



On Wed, Oct 19, 2011 at 3:35 PM, David Vaughan
<purpleblues13 at googlemail.com> wrote:
> How exactly does memoization work?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm


More information about the Programming mailing list