help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about memory usage


From: Eli Zaretskii
Subject: Re: Question about memory usage
Date: Tue, 03 Apr 2018 15:40:27 +0300

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Tue, 03 Apr 2018 08:28:46 -0400
> 
> >> (while t
> >>    (with-temp-buffer
> >>      (setq buffer-undo-list nil)
> >>      (insert "a")))
> [...]
> > To answer your question: yes, I think this is expected, given that you
> > set buffer-undo-list to nil (what is the purpose of that, btw?).  If
> 
> Hmm... why would setting this var make any significant difference here?

Because the variable is on/referenced via the stack, I suppose.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]