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

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

Re: About "consing"


From: Barry Margolin
Subject: Re: About "consing"
Date: Thu, 28 Feb 2013 11:10:56 -0500
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <mailman.21101.1362063945.855.help-gnu-emacs@gnu.org>,
 Kevin Rodgers <kevin.d.rodgers@gmail.com> wrote:

> On 2/28/13 7:23 AM, Xue Fuqiao wrote:
> > In the doc string of the function `memory-use-counts':
> >
> >    Return a list of counters that measure how much consing there has been.
> >
> > I don't know what the "consing" means here.  I only know that `cons' is 
> > often
> > used to add a single element to the front of a list.  But this seems to be
> > irrelevant to the topic.
> >
> > And in (info "(elisp) Garbage Collection"):
> >
> >   -- Function: memory-use-counts
> >       This returns a list of numbers that count the number of objects
> >       created in this Emacs session.
> >
> > Does "consing" mean creating an object here?  Thanks.
> 
> Yes: allocating a cons cell.

And arrays, buffers, etc.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


reply via email to

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