all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* lexical-let cause memory leaks?
@ 2012-01-30 15:09 Константин Куликов
  2012-01-30 22:13 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Константин Куликов @ 2012-01-30 15:09 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

Original:
http://stackoverflow.com/questions/9062580/when-does-emacs-lisps-lexical-let-leak-memory
So... Is it true, that "variables bound with lexical-let are never
released, even if they are never used"?
And if so, may it be fixed?

[-- Attachment #2: Type: text/html, Size: 730 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lexical-let cause memory leaks?
  2012-01-30 15:09 Константин Куликов
@ 2012-01-30 22:13 ` Stefan Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2012-01-30 22:13 UTC (permalink / raw)
  To: Константин Куликов
  Cc: emacs-devel

> http://stackoverflow.com/questions/9062580/when-does-emacs-lisps-lexical-let-leak-memory
> So... Is it true, that "variables bound with lexical-let are never
> released, even if they are never used"?

Not that I know.  Of course, this code is not bug-free, but I don't know
of any concrete case that bumps into such a bug.


        Stefan



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lexical-let cause memory leaks?
@ 2012-01-31 16:34 Takafumi Arakaki
  0 siblings, 0 replies; 3+ messages in thread
From: Takafumi Arakaki @ 2012-01-31 16:34 UTC (permalink / raw)
  To: emacs-devel; +Cc: monnier, zxnotdead

> > http://stackoverflow.com/questions/9062580/when-does-emacs-lisps-lexical-let-leak-memory
> > So... Is it true, that "variables bound with lexical-let are never
> > released, even if they are never used"?
>
> Not that I know.  Of course, this code is not bug-free, but I don't know
> of any concrete case that bumps into such a bug.

Hi, I'm the one who wrote the stackoverflow question.
Good to know that there is no known leak.
Thank you.

Takafumi



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-31 16:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-31 16:34 lexical-let cause memory leaks? Takafumi Arakaki
  -- strict thread matches above, loose matches on Subject: below --
2012-01-30 15:09 Константин Куликов
2012-01-30 22:13 ` Stefan Monnier

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.