Re: [Chicken-users] srfi-40 space leak?

2006-04-11 Thread felix winkelmann
On 4/10/06, Dan [EMAIL PROTECTED] wrote: Hi all, After reading the SRFI-40 (stream library) egg documentation at http://www.call-with-current-continuation.org/eggs/srfi-40.html I thought that the implementation includes the srfi-45 fixes to avoid space leaks. However, the test program

Re: [Chicken-users] srfi-40 space leak?

2006-04-11 Thread Peter Bex
On Tue, Apr 11, 2006 at 01:46:05PM +0200, felix winkelmann wrote: On 4/10/06, Dan [EMAIL PROTECTED] wrote: Hi all, After reading the SRFI-40 (stream library) egg documentation at http://www.call-with-current-continuation.org/eggs/srfi-40.html I thought that the implementation

Re: [Chicken-users] srfi-40 space leak?

2006-04-11 Thread Dan
He is looping through the elements with a tail-recursive function. This should not pose any problems, since only the car of the list needs to be forced, after which it is discarded and recursion takes place on the cdr. Thanks Peter -- that's what I meant. The SRFI-40 egg describes itself as

[Chicken-users] srfi-40 space leak?

2006-04-10 Thread Dan
Hi all, After reading the SRFI-40 (stream library) egg documentation at http://www.call-with-current-continuation.org/eggs/srfi-40.html I thought that the implementation includes the srfi-45 fixes to avoid space leaks. However, the test program below seems to take up an ever-increasing amount