all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xue Fuqiao <xfq.free@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: About "consing"
Date: Thu, 28 Feb 2013 22:23:12 +0800	[thread overview]
Message-ID: <20130228222312.c355b99ca133f630b9b735f6@gmail.com> (raw)

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.

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



             reply	other threads:[~2013-02-28 14:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-28 14:23 Xue Fuqiao [this message]
2013-02-28 14:43 ` About "consing" Doug Lewan
2013-02-28 14:47 ` Stefan Monnier
2013-02-28 15:05 ` Kevin Rodgers
2013-02-28 15:57 ` Eli Zaretskii
     [not found] ` <mailman.21101.1362063945.855.help-gnu-emacs@gnu.org>
2013-02-28 16:10   ` Barry Margolin

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=20130228222312.c355b99ca133f630b9b735f6@gmail.com \
    --to=xfq.free@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.