[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Are there any problems with lexical-let or other cl-macros???
From: |
Elena |
Subject: |
Re: Are there any problems with lexical-let or other cl-macros??? |
Date: |
Wed, 08 Dec 2010 15:19:37 -0000 |
User-agent: |
G2/1.0 |
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."
Re: Are there any problems with lexical-let or other cl-macros???, Elena, 2010/12/08