GNU bug report logs - #960
23.0.60; excess consing

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Thu, 11 Sep 2008 11:15:04 UTC

Severity: normal

Merged with 917, 961

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Juanma Barranquero" <lekktu <at> gmail.com>
To: rms <at> gnu.org, 960 <at> debbugs.gnu.org
Subject: bug#960: 23.0.60; excess consing
Date: Thu, 11 Sep 2008 14:25:53 +0200
On Thu, Sep 11, 2008 at 13:03, Richard M. Stallman <rms <at> gnu.org> wrote:

>    (defun gc-info ()
>      (interactive)
>      (message "C=%s S=%s(%s) V=%s SYM=%s MISC=%s INT=%s"

> Just typing M-* repeatedly I see that cons-cells-consed increases by
> about 130, and string-chars-consed increases by around 160.  This seems
> unreasonably much, for running a command that does no consing itself.

`message' calls `format', which calls `copy-sequence'... Isn't that a
source of consing?

 Juanma




This bug report was last modified 15 years and 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.