From: Elena <egarrulo@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Are there any problems with lexical-let or other cl-macros???
Date: Tue, 20 Jul 2010 00:56:23 -0700 (PDT) [thread overview]
Message-ID: <21f39695-3a96-4c8e-a2d9-3f62f6188727@t10g2000yqg.googlegroups.com> (raw)
In-Reply-To: jwvr5izytwc.fsf-monnier+gnu.emacs.help@gnu.org
On Jul 19, 10:44 pm, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> In which sense does lexical-let leak memory?
From http://c2.com/cgi/wiki?EmacsLisp :
"Note that variables bound with lexical-let are never released, even
if they are never used. Try
(loop for i from 1 to 100000 collect (lexical-let ((x i)) '()))
and watch it eat memory. So making infinity (ZeroOneInfinity) lexical
variables is out of the question except for very small values of
infinity."
prev parent reply other threads:[~2010-07-20 7:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-01 13:01 Are there any problems with lexical-let or other cl-macros??? LanX
2010-06-01 13:18 ` Pascal J. Bourguignon
2010-06-01 14:20 ` LanX
2010-06-01 15:45 ` Helmut Eller
2010-06-01 15:58 ` LanX
2010-06-01 16:24 ` Helmut Eller
2010-06-02 11:26 ` Pascal J. Bourguignon
2010-07-15 0:13 ` Elena
2010-07-19 22:44 ` Stefan Monnier
2010-07-20 7:56 ` Elena [this message]
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=21f39695-3a96-4c8e-a2d9-3f62f6188727@t10g2000yqg.googlegroups.com \
--to=egarrulo@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.