[gambit-list] Space leak or bad gc parameters?

Bradley Lucier lucier at math.purdue.edu
Tue May 19 15:47:00 EDT 2015


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.html

Brad



More information about the Gambit-list mailing list