GNU bug report logs - #917
Too heavy consing in MULE file saving?

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sun, 7 Sep 2008 17:50:03 UTC

Severity: normal

Merged with 960, 961

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

Bug is archived. No further changes may be made.

Full log


Message #20 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Richard M. Stallman" <rms <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>, 917 <at> debbugs.gnu.org
Cc: 917 <at> debbugs.gnu.org, bug-submit-list <at> donarmstrong.com,
        emacs-pretest-bug <at> gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#917: Too heavy consing in MULE file saving?
Date: Mon, 08 Sep 2008 05:22:27 -0400
    I'm not surprised: saving a file visited non-literally causes its
    contents to be encoded, which generally means we wipe out the text and
    replace it with its encoded representation.  That this conses _a_lot_,
    especially for large files, does not come as a surprise to me.

It seems to be a recent change, so I think it is worth investigating
whether something just increased the amount of consing done by encoding.
It would be worth optimizing this.






This bug report was last modified 14 years and 333 days ago.

Previous Next


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