all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: [elpa] master b5f4061: Drop forced lambda's from stream (Bug#30626)
Date: Tue, 4 Jun 2019 11:43:21 -0400	[thread overview]
Message-ID: <CAM-tV-8oRWk3Hzemg=eN93d1WJY3v3NwbymQaHUGPdjaijgYqg@mail.gmail.com> (raw)
In-Reply-To: <jwv4l55h4e5.fsf-monnier+emacs@gnu.org>

On Tue, 4 Jun 2019 at 09:27, Stefan Monnier <monnier@iro.umontreal.ca> 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.



  reply	other threads:[~2019-06-04 15:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190604002517.28469.52294@vcs0.savannah.gnu.org>
     [not found] ` <20190604002519.251AC209A5@vcs0.savannah.gnu.org>
2019-06-04 13:27   ` [elpa] master b5f4061: Drop forced lambda's from stream (Bug#30626) Stefan Monnier
2019-06-04 15:43     ` Noam Postavsky [this message]
2019-06-04 16:58       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM-tV-8oRWk3Hzemg=eN93d1WJY3v3NwbymQaHUGPdjaijgYqg@mail.gmail.com' \
    --to=npostavs@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.