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:51:17 +0300

> Date: Tue, 03 Apr 2018 15:40:27 +0300
> From: Eli Zaretskii <address@hidden>
> 
> > From: Stefan Monnier <address@hidden>
> > 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.

Or maybe I misunderstand what you meant by "make significant
difference"?  What did you mean?



reply via email to

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