f M. records arguments and the corresponding results.
The current implementation is limited to small non-negative
integer atom arguments (elements of i.2^IF64{31 63).
There is no way to tell what has been recorded,
but f M. x producing a result much faster than f x
is a pretty good indicator.

I don't understand what you mean by "M. is only a suggestion".



----- Original Message -----
From: John Randall <[EMAIL PROTECTED]>
Date: Thursday, December 4, 2008 17:06
Subject: Re: [Jprogramming] Fibonacci shift
To: Programming forum <[email protected]>

> Raul Miller wrote:
> 
> > I do not have any specific suggestion, but this seems like a
> > good candidate for M.("0)
> 
> 
> Good point.  Does anyone have any idea how to tell what (if 
> anything) has
> been memoized?  I realize M. is only a suggestion, but it 
> would be helpful
> to know what it is doing.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to