[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [elpa] master b5f4061: Drop forced lambda's from stream (Bug#30626)
From: |
Noam Postavsky |
Subject: |
Re: [elpa] master b5f4061: Drop forced lambda's from stream (Bug#30626) |
Date: |
Tue, 4 Jun 2019 11:43:21 -0400 |
On Tue, 4 Jun 2019 at 09:27, Stefan Monnier <address@hidden> wrote:
>
> > Let the stream id distinguish between forced and unforced stream
> > values. When the value is forced, replace the lambda with its result.
> > This lets the lambda and anything it references be garbage collected.
>
> Doesn't the same "memory leak" affect thunks?
Yes.
> How 'bout the patch below
Looks good to me. I would have done something like that if I'd thought of it.