Thanks. Denis
Date: Tue, 19 May 2015 15:47:00 -0400 From: lucier@math.purdue.edu To: denis.prog@hotmail.com; feeley@iro.umontreal.ca CC: lucier@purdue.edu; gambit-list@iro.umontreal.ca Subject: Re: [gambit-list] Space leak or bad gc parameters?
On 05/19/2015 02:47 PM, Denis Fourt wrote:
By the way, in that particular case it is also much faster (about 3 times) with gsc to create thunks to delay evaluation than using gambit delay macro. I suppose, gambit does some memoization of the result of the call of force. Is this the right thing to do?
Yes; see, e.g.,
http://www.gnu.org/software/mit-scheme/documentation/mit-scheme-ref/Promises...
Brad