From: Hal Fulton Date: 2006-02-01T11:07:09+09:00 Subject: Re: memoize (reposting via ML) MenTaLguY wrote: > On Wed, 2006-02-01 at 10:22 +0900, Hal Fulton wrote: > >>This doesn't work for me. I see no measurable speed difference in these >>three cases. What am I doing wrong? > > > It may be that (relative to the overhead of method calls, etc), the > calculation is less expensive than you suppose. C'est possible... but with the silly hash-based implementation in TRW1, I saw a significant speedup of this same function. And memoize is not *so* complicated... James Edward Gray, are you listening? Don't you have a memoize of your own? What does it do with this function? Cheers, Hal